Search found 6 matches

by cuongvn08
2017-01-10T19:38:53-07:00
Forum: Magick++
Topic: Convert PNG to 8-Bit Palette BMP
Replies: 10
Views: 25199

Re: Convert PNG to 8-Bit Palette BMP

We have ceased to use IM for this -> problem solved. I also have same problem as your issue. I would like to convert the original image to 8-bit palette bmp. I am thinking to stop using IM and change to another library. My programming platform is Ubuntu, php. So what is the library you are using no...
by cuongvn08
2017-01-10T16:55:58-07:00
Forum: Bugs
Topic: DrawImage changes to higher BitDepth
Replies: 11
Views: 6629

Re: DrawImage changes to higher BitDepth

glennrp wrote:
2017-01-10T11:55:59-07:00
As others said, you need to turn off antialiasing.
Could you please show me how can I turn off anti-aliasing?
And what is the effect of anti-aliasing here?
Thank you.
by cuongvn08
2017-01-10T01:32:28-07:00
Forum: Bugs
Topic: DrawImage changes to higher BitDepth
Replies: 11
Views: 6629

Re: DrawImage changes to higher BitDepth

@snibgo,
my input image is just grey-scale image.
I have not tried SetImageStorageClass() before writing.
by cuongvn08
2017-01-10T01:15:23-07:00
Forum: Bugs
Topic: DrawImage changes to higher BitDepth
Replies: 11
Views: 6629

Re: DrawImage changes to higher BitDepth

@snibgo I am going to add some circles but I disabled all these codes. Because I want to see the effect of ImagickDraw. Even I just created an object of ImagickDraw and did not add anything, bitdepth of image_output was changed to 24. My full code here: $img = new Imagick($image_input_8bit_bmp) $dra...
by cuongvn08
2017-01-10T00:53:23-07:00
Forum: Bugs
Topic: DrawImage changes to higher BitDepth
Replies: 11
Views: 6629

Re: DrawImage changes to higher BitDepth

@fmw42, my output image is still bmp. My application was written in php. Code is simply like belows: $img = new Imagick($image_input_8bit_bmp) $draw = new ImagickDraw(); $draw->setStrokeOpacity(1); $img->drawImage(draw); $img->writeImage(image_output); Finally, image_output is 24-bit bmp. Is there a...
by cuongvn08
2017-01-10T00:01:36-07:00
Forum: Bugs
Topic: DrawImage changes to higher BitDepth
Replies: 11
Views: 6629

DrawImage changes to higher BitDepth

My ImageMagick version in Linux is 6.7.7-10 I used the function drawImage() to add some circles into the 8-bit bmp. However, the problem is after adding some circles, bitdepth of image became 24-bit. Hopefully, I would like to keep the same bitdepth as the original image. Is this a bug of ImageMagic...