I am using ImageMagick's convert to convert a bunch of .fits files (an image format used in astronomy) to an animated .gif. My astronomical images are pretty low resolution (150 x 300 pixels) but convert seems to make images that are larger than 150 x 300 pixels and then interpolates to figure out "appropriate" values for the newly created pixels.
I, however, want an accurate presentation of my original .fits images, low resolution and all. What do I need to give to convert so that it doesn't perform any interpolation at all? I don't necessarily care about the resolution/size of the final image (though it should be some size of 150 x 300), I just want the same pixel-to-pixel crispness my original astronomical image has to remain.
I know I've done this before, I just can't remember how.
Here is a screenshot of the original image:
And here is the converted image (generated with convert <input>.fits <out>.gif
):
file
command on your output file and post the output (hopefully it will tell us the resolution).