Search found 5 matches

by kiranbg123@gmail.com
2018-07-12T18:03:09-07:00
Forum: Users
Topic: flatten to remove transparency not working
Replies: 1
Views: 400

flatten to remove transparency not working

convert test.png -flatten -background white convertTest.jpg is not working with image magick. It works for most of the images but doesnt work for certain images.
It messes up the image after converting. Is this known issue with IM?
by kiranbg123@gmail.com
2018-07-05T17:27:58-07:00
Forum: Users
Topic: image magick supress warnings with quiet option
Replies: 0
Views: 1123

image magick supress warnings with quiet option

Hi I am getting identify: Invalid SOS parameters for sequential JPEG `test.jpeg' @ warning/jpeg.c/JPEGWarningHandler/365 warning and not able to resize the image because of the warning. I am doing image.quiet(true) to supress warnings and seems to resolve the issue. I want to be little more consciou...
by kiranbg123@gmail.com
2018-06-28T16:43:01-07:00
Forum: Users
Topic: check if image is transparent
Replies: 2
Views: 698

check if image is transparent

How can I check if image is transparent in image magic++?
i am using im 6.9.6

image.matte() returns true even for non transparent images.
Can someone please help?

Thanks
by kiranbg123@gmail.com
2018-06-28T15:25:38-07:00
Forum: Users
Topic: remove trasparency from PNG( remove alpha)
Replies: 3
Views: 769

Re: remove trasparency from PNG( remove alpha)

How do I do this in c++(magick++) flattening is working on commandline but not through c++ code
by kiranbg123@gmail.com
2018-06-28T15:11:36-07:00
Forum: Users
Topic: remove trasparency from PNG( remove alpha)
Replies: 3
Views: 769

remove trasparency from PNG( remove alpha)

Hi, When I try to convert png to non-Png(eg JPG), the image gets corrupted if its trasparent. So I need to handle this case in my magick++ c++ code. I am basically trying to remove transparency. The following command line works: 1.convert transparent.png -alpha remove transparent.jpg 2.convert trans...