Re: Gdk-pixbuf



Antonio Campos wrote:
> Does anybody know if I can create a preview ( a thumbnail) of a
> JPEG image without loading it all and without the image containing a
> thumbnailed version of the whole image?

There's a hack program in the jpeg distribution that does this ... it
pulls out the DC component for each 8x8 block, and makes an image. The
effect is that you get an 8x shrunk image, without having to decode the
whole file. It's darn quick!

	http://www.ijg.org/

They run a mailing list where you can ask jpeg-gurus detailed questions.

> And moreover, can I do this with gdk-pixbuf?. I suppose this last
> question has the answer no, but anyways....

It shouldn't be difficult to do.

HTH, John
--
John Cupitt, john cupitt ng-london org uk, +44 (0)20 7747 2570
VASARI Lab, The National Gallery, Trafalgar Square, London, WC2N 5DN




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]