resample creates large files in /tmp
resample creates large files in /tmp
We have certain images (JPG) that when converted with -resample create very large Magick files in /tmp. Trying to determine what about the jpeg image triggers creation of the tmp files. Other jpeg of similar size do not result in tmp file creation. Looking to identify what about jpeg might be triggering creation of these tmp files and tools(?) I can use to see if convert of specific jpeg will potentially trigger this creation
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: resample creates large files in /tmp
I expect the pixel caches are being stored on disk, because you don't have enough memory or you have limited the use, eg in policy.xml.
The critical numbers will be: the input size (in pixels), the old density and the required resampling density.
The critical numbers will be: the input size (in pixels), the old density and the required resampling density.
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: resample creates large files in /tmp
I often find it easier to get desired results by -resize the image to the desired pixel dimensions and then adding -density to assign the final density that you want that will make it print to the desired print size. Just an alternate to -resample.