Questions tagged [monochrome]

64 questions
0
votes
1 answer

FFMPEG - Green cast with Splash image in video

I'm using FFMPEG to produce a video consisting of a single monchrome JPG image: ffmpeg -y -loop 1 -framerate 30 -t 5 -i SplashBW.jpg Splash.mp4 There are two issues with the resulting video: When viewed with VLC it has a green cast When viewed…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
0
votes
2 answers

How to convert normal bitmap to monochrome bitmap android

Hi I want to convert a normal bitmap to monochrome bitmap in Android, how can I do that. I tried to look online but could only find Bitmap bmpMonochrome = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); Canvas canvas = new…
BRDroid
  • 3,920
  • 8
  • 65
  • 143
0
votes
1 answer

Can't Create Monochrome Bitmap from HBITMAP got by GDI+ Bitmap::GetHBITMAP

I am unable to Create a Monochrome Mask for a 24BPP Colour image with SetBkColor() > BitBlt[SRCCOPY]. The Mask ends up completely Black. The entire thing works only if I use LoadImage() instead to get the HBITMAP. Bitmap img(L"Ball.bmp"); HBITMAP…
Ujjwal Singh
  • 4,908
  • 4
  • 37
  • 54
0
votes
0 answers

Capturing video with monochrome camera in aruco opencv

I'm currently trying to use a monochrome camera with the aruco and opencv libraries in order to accelerate the computation and get better marker capturing. The problem i am having is that the monochrome feed is being tripled on screen when running…
0
votes
1 answer

work with binary (1 bit per pixel) images c++

The problem follows. It is necessary to work with very large binary images (100000x100000 pixels). Initially did it using Qt's QImage class, it supports Format_Mono format that stores an image as a 1-bit per pixel. And in general, everything was…
bronstein87
  • 115
  • 1
  • 9
0
votes
1 answer

Monochrome image with color

I have div with an image as a background. I want this image to be monochrome in red and black. Is this possible with css (or perhaps Javascript)? Looking at filters I can only find a way to show the image in plain black and white. To clarify, I do…
Ellinor
  • 323
  • 3
  • 14
0
votes
1 answer

How can I script to export SVG file in both color and monochrome with Inkscape?

I got the following script to export my *.svg to .png in various sizes. #!/usr/bin/env bash [[ ! -d png ]] && mkdir png/ for svg in logo.*.svg; do echo $svg $png sizes=( 64 128 256 512 1024 ) for size in "${sizes[@]}"; do …
Édouard Lopez
  • 40,270
  • 28
  • 126
  • 178
0
votes
1 answer

Edit Black and White image using HSV color space

Why Hue and Saturation parameters in HSV colors space not change any thing in black and white (monochrome) images ? except Value (brightness) can change the lightness of the image ! I've tried to change them using Photoshop adj. layer.
Minions
  • 5,104
  • 5
  • 50
  • 91
0
votes
1 answer

Android resizes monochrome imageview creating grey pixels

I have an image which is monochrome, meaning only white and black pixels. I have made several versions of the image in order to cover all dpi folders. I am using a monochrome image since I want to apply the floodfill algorithm. The problem is that…
George
  • 1
  • 1
0
votes
0 answers

Convert Monochrome 1bpp TIFF to byte array

I created a 1bpp image in Photoshop, and I am trying to read the bytes into a byte array. Later I will be storing these monochrome bytes under a font descriptor to make a bitmap font. So I get the image like this: var bitmap = new…
Gernatch
  • 175
  • 3
  • 19
0
votes
1 answer

How to reduce the Bitmap size converting a Bitmap from 24 to 1bpp programatically in Android

I need to reduce the bitmap size converting it from 24bpp to 1bpp-monochrome in my OCR application in Android. I found this very good piece of software that converts the Bitmap to 1bpp-monochrome (https://github.com/acdevs/1bpp-monochrome-android).…
Carlos
  • 433
  • 5
  • 19
0
votes
1 answer

Monochrome Bitmap (1 bbp) Padding and extra 0xF0 byte

I am working with a Monochrome Bitmap image, 1 bit per pixel. When I examine the file with an hexadecimal editor, I notice that each row ends up with the following hexadecimal sequence: f0 00 00 00. Having studied the problem a little bit, I…
Léa Massiot
  • 1,928
  • 6
  • 25
  • 43
0
votes
1 answer

Php imagebmp for monochrome bitmap

How to implement imagebmp() function for monochrome BMP? I found many implementation for 24bit bitmap but nothing about 1bit bitmap.
Tobia
  • 9,165
  • 28
  • 114
  • 219
0
votes
1 answer

Saving a Drawn Image as MonoChrome

Hi everyone i have a image that i draw using graphics.drawline Bitmap Signature = new Bitmap(x, y); Graphics g; g = Graphics.FromImage(Signature); …
user3027738
  • 46
  • 1
  • 10
0
votes
1 answer

ImageMagick - rounding the alpha channel

I have an image which is white on a transparent background, but the white has some alpha channel around the object's edges (due to anti-aliasing). How could I make this pure white-on-transparent, by rounding the alpha channel so > 0.5 becomes white…
mahemoff
  • 44,526
  • 36
  • 160
  • 222