resample does not honor "only shrink larger"
Posted: 2012-09-12T00:29:57-07:00
I have an issue with resampling.
I cannot get -resample to prohibit upsampling.
I am trying the following:
since I only want to downsample very high resolution files and leave lower resolution files untouched.
Upsampling is usually a bad thing for quality, but in this case it is also murder for the server since the upsampling process can easily run away with all the memory, disk space and cycles.
Large camera images may come in as 4000x5000 at 72 dpi and the upsampling produces enormous images.
I am aware that resample is a wrapper on resize.
I am afraid that the constraint flags may simply be ignored by the wrapper.
Since I have not found any documentation expressing this limitation I would consider it a bug.
I cannot get -resample to prohibit upsampling.
I am trying the following:
Code: Select all
convert "infile.psd"[0] -resample 300x300> "outfile.tif"
Upsampling is usually a bad thing for quality, but in this case it is also murder for the server since the upsampling process can easily run away with all the memory, disk space and cycles.
Large camera images may come in as 4000x5000 at 72 dpi and the upsampling produces enormous images.
I am aware that resample is a wrapper on resize.
I am afraid that the constraint flags may simply be ignored by the wrapper.
Since I have not found any documentation expressing this limitation I would consider it a bug.