[CREATE] OpenRaster thumbnail upscaling

Jon Nordby jononor at gmail.com
Wed Jun 9 01:06:35 PDT 2010


On 8 June 2010 13:25, Marcos Diaz <markos at nathive.org> wrote:
> Maybe is obvious (he who asks is a fool for five minutes he who does not ask
> remains a fool forever), but...
> What the point if avoid upscaling in the OpenRaster thumnail? imagine a
> 16x16 icon, with the actual spec we get a 16x16 square in the center of a
> 256x256 transparent image, so if the previewer (for example Nautilus)
> display it in 64x64 space there are two possible options, scale down all
> displaing the original icon in a ridiculous 4x4 dimensions, or analize the
> image to cut transparent borders and display it with the same result as if
> the OpenRaster spec had done upscaling, but with extra work and code.
> So, what's the rationale?
I'm not 100% sure that I get you, but here goes. If you have an image
that is less than 256x256, you don't save a thumbnail that is fully
256x256 px, you just save a thumbnail the size of the image. So with a
16x16 px image you save a 16x16 px thumbnail. So there will be no
transparent borders to worry about.

The actual rationale for not doing upscaling I do not know.

-- 
Regards Jon Nordby - www.jonnor.com


More information about the CREATE mailing list