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?".
what is the size of the input image and how much memory does your computer have? can you post a link to your input image so others can test. perhaps the input image is corrupt in some way?
is convert.exe the Imagemagick convert or the Windows convert? perhaps you are not using the IM convert, which many people rename to imconvert to avoid this confusion.
fmw42 wrote:what is the size of the input image and how much memory does your computer have? can you post a link to your input image so others can test. perhaps the input image is corrupt in some way?
is convert.exe the Imagemagick convert or the Windows convert? perhaps you are not using the IM convert, which many people rename to imconvert to avoid this confusion.
The input image size is 22 MB, my computer has 3 GB of RAM. Unfortunately I can't publish the image but yes the tif file is corrupt but I don't know that in what way! I tried to convert with the ImagMagick convert.exe because when I type convert to the cmd it says it is ImageMagick convert.
Sorry I meant Mega Pixels obtained by multiply width x height. Your image is binary (b/w), so that accounts for the smaller file size.
However, if IM converts that internally to truecolor? then the input file size would be 3x192 Mbytes and would require the equivalent on ouput. So you might be needing about 1.2 Gbytes. I am not sure how IM handles that internally!
however try
convert test_in.tif -type bilevel test_out.tif
or post a link to your file so others can test with it.
fmw42 wrote:Sorry I meant Mega Pixels obtained by multiply width x height. Your image is binary (b/w), so that accounts for the smaller file size.
However, if IM converts that internally to truecolor? then the input file size would be 3x192 Mbytes and would require the equivalent on ouput. So you might be needing about 1.2 Gbytes. I am not sure how IM handles that internally!
however try
convert test_in.tif -type bilevel test_out.tif
or post a link to your file so others can test with it.
Okay thanks for your help! I'm going to test it. Unfortunately I can't publish these pictures because those are secret. Thanks your help again. If I have problems or questions I'm going to write here.
fmw42 wrote:Sorry I meant Mega Pixels obtained by multiply width x height. Your image is binary (b/w), so that accounts for the smaller file size.
However, if IM converts that internally to truecolor? then the input file size would be 3x192 Mbytes and would require the equivalent on ouput. So you might be needing about 1.2 Gbytes. I am not sure how IM handles that internally!
however try
convert test_in.tif -type bilevel test_out.tif
or post a link to your file so others can test with it.
I went to the press and made a corrupt tif file with the scanner here it is! So it occurs when we set a bad lenght parameter and I need to solve this problem.