[email protected] Posted June 24, 2009 Share Posted June 24, 2009 Hi, 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 help me how to create mask and grayscale image with same quality. Thanks Senthil Kumar S. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/163485-image-manipulation-issue/ Share on other sites More sharing options...
JonnoTheDev Posted June 24, 2009 Share Posted June 24, 2009 This is not a PHP issue. Convert is imagemagick. Should post in misc board. However to answer your question use the quality flag: -quality 100 Link to comment https://forums.phpfreaks.com/topic/163485-image-manipulation-issue/#findComment-862736 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.