Reduce the Memory of a image from 50GB to 276KB

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
helloworld
Posts: 69
Joined: 2013-05-22T09:42:33-07:00
Authentication code: 6789

Reduce the Memory of a image from 50GB to 276KB

Post by helloworld »

Hello All,

What is the command to resize a image which is 3000x3000 pixels with a memory of 50GB to 100x100 pixels with the memory reduced to 276kb.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Reduce the Memory of a image from 50GB to 276KB

Post by fmw42 »

convert image -thumbnail 100x100 -type palette result

but it also depends upon the (input and) output format and whether the input is color or grayscale, etc. You did not specify that. Also it is a good idea to provide your IM version and platform.
helloworld
Posts: 69
Joined: 2013-05-22T09:42:33-07:00
Authentication code: 6789

Re: Reduce the Memory of a image from 50GB to 276KB

Post by helloworld »

Worked perfectly thanks a lot Fred.
Post Reply