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?".
i have 1-Bit monochrome (bilevel) images having 17.300x27.051 pixels at 1.270dpi. They are TIFFG4 compressed.
Now i want to create previews from them, so i thought i can use IM to convert those files to a graylevel png or jpeg with a lower resolution (72 dpi) and size (10%).
Still the same, an error occures. What can i do with these large files? Is there a way to get them smaller, consume less memory?
I've read about 'stream' but not shure how to use this.
also what version of IM and what platform? perhaps you also need to upgrade. But I am still not sure if IM understands that type of TIFF. It might. I just don't know as there are so many variants.
Tried to convert with tiffcp into an uncompressed version, still the same.
It runs on Debian Linux machine having 512MB of physical RAM. IM version is 6.3.7 08/07/09 Q16 (from Lenny packages).
I used -debug and see it will try to create a 3.64gb tempfile, which is quite large, but even the disk space is available the cache returns an error.
#massive don't put me further. I still have problems understanding the syntax, too many variants... but i think the size is the problem.
Here is the TIFF as
compressed (G4) http://inet-sv1.kreisbote.de/downloads/ ... rge_g4.tif (~5MB)
and uncompressed http://inet-sv1.kreisbote.de/downloads/ ... /large.tif (~60MB).
The large_g4.tif file returned a 'invalid colormap index' exception. However your large.tif file converted without complaint with ImageMagick 6.6.0-8, the current release;
convert -limit area 0 large.tif -scale 10% -colorspace Gray preview_image.tif
I did, but did not tell you. The path in the above terminal-output points to a disk which has about 40gig free, which should be enough.
Why does it not convert on my Linux box?
I tried it on another host, the same result. Give the Linux host about 5GIG of RAM, nothing changes.
Please, all who can convert it, tell me how long it takes on your platform.
On my mid-range laptop, 2 x 2.1 GHz, under Windows 7, IM 6.6.0-8: disk IO was trivial and the CPUs weren't saturated, so I guess memory speed was the limiting factor.
The same machine under Ubuntu 9.10, a slightly older IM, has only 3GB available memory and used it all.
Which version of IM are you using? It seems to work ok with ImageMagick 6.6.0-8. Can you try that version? If not, add -debug cache to your command line post the output.
magick wrote:Which version of IM are you using? It seems to work ok with ImageMagick 6.6.0-8. Can you try that version? If not, add -debug cache to your command line post the output.
Did this already. Please look at the beginning of the thread.