Image magick image manipulation issue

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
Senthilnathanns

Image magick image manipulation issue

Post by Senthilnathanns »

Hi All,

I have used to create mask(mask.jpg) and grayscale(grayscale.jpg) image from attached original.png. But the text quality not good when compared to original.png image.

Code:
convert original.png -threshold 0 mask.jpg
convert original.png colorspace gray grayscale.jpg

Can any one please help me how to create mask and grayscale image with same quality.

Thanks
Senthil Kumar S.
Attachments
grayscale.jpg
grayscale.jpg
grayscale.jpg (5.87 KiB) Viewed 6320 times
mask.jpg
mask.jpg
mask.jpg (5.84 KiB) Viewed 6320 times
Original.png
Original.png
original.png (4.5 KiB) Viewed 6320 times
Anan

Re: Image magick image manipulation issue

Post by Anan »

Hi,

I am also having the same problem. I just want to create a mask image (jpg) out of a transparent png image. Any help is highly appreciated.

Thanks in advance,
Post Reply