resize or scale image file size is too big

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Post by glennrp »

If the original doesn't have very many colors the resized one will have more. Use "identify -verbose" to find out how many colors are in your original, your output jpeg, and your output png. That may provide an explanation for the size differences.
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Post by glennrp »

madhu wrote: Hi, Just ran identify on all the three images and this is the output. Any ideas? When output is jpg, it is defnitely not black and white image even if the source is. Looks like convert to png is fine. What could be causing this?

Your results are OK. It's just that JPEG doesn't support pure black/white. The sharp edges get smoothed out with additional levels of gray.

Glenn
Post Reply