Temp files with Large file size

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
yukichow
Posts: 2
Joined: 2013-06-11T00:54:14-07:00
Authentication code: 6789

Temp files with Large file size

Post by yukichow »

I use command line MagicCMD.exe to convert a multitiff file to several singletiff files.

During conversion, some temporary files have created and their files size are extremely LARGE !!!! My original tiff file is ~3000kb, but a tempory file is over 136Mb. How can I minimize the temporary file size when using command line?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Temp files with Large file size

Post by snibgo »

What is MagicCMD.exe? Is it part of Image Magick?
snibgo's IM pages: im.snibgo.com
yukichow
Posts: 2
Joined: 2013-06-11T00:54:14-07:00
Authentication code: 6789

Re: Temp files with Large file size

Post by yukichow »

Yes. It is a part of Imagemagick. MagickCMD can be used with other options in CMD.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Temp files with Large file size

Post by fmw42 »

Is your tiff file compressed? IM may have to decompress it to process it.

By the way, it would be a good idea to provide your IM version, your command line and a link to your input tiff image, so others can review the image and your code and try it themselves.

I do not know much about memory management, but see

http://www.imagemagick.org/Usage/files/#massive
http://www.imagemagick.org/script/resou ... nvironment
Post Reply