Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Recently I have had to scale up the dimensions of a gif image by a factor of 2, this resulted in an increase of the file size by about 8 times. While this is not a complete surprise, I can't help but think there should be a format that scales well with such an operation.

share|improve this question
    
Can the image be remade as a Vector image or are you stuck as Raster? –  Scott Chamberlain Nov 14 '12 at 19:23
    
@ScottChamberlain actually you brought up a good point, except that what I had in mind was something to be used with google maps –  prusswan Nov 14 '12 at 19:36
    
Google maps stores it's data as tiles, then does small shrink (never expand) as you zoom out. Once you have zoomed out enough it sends a new image at the same resolution as the old one but at a different scale. –  Scott Chamberlain Nov 14 '12 at 20:37

1 Answer 1

Compression in GIF images is quite primitive and cannot take advantage of redundancy created by upscaling of the image.

I you resize without anti-aliasing then well-optimized PNG shouldn't grow by much.

If you resize with anti-aliasing then convert the image to JPEG, as this will create lots of new colors and soft edges that are best handled by JPEG.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.