Splitting Image

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 by ridera »

If you don't need True Color [24 bit], use -depth 256 [8bit]

That can save a tremendous amount of memory.

User avatar
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Belay that order. We suspect that ridera means -colors 256 . However since JPEG is RGB or CMYK it does not support a colormapped image. Instead try this command:
  • convert -crop 10x10 source.jpg -strip -quality 75 slice%d.jpg
Tradeoff image quality for image size by adjusting the compression quality up or down.