On Thu, 24 Feb 2005 08:50:55 +0100 Antonio Larrosa Jim__nez <[EMAIL PROTECTED]>
(Bbabbled:
(B
(B> On Wednesday 23 February 2005 23:43, Michel Briand wrote:
(B> > Hello
(B> >
(B>
(B> Hi,
(B>
(B> > maybe you can use int mkfifo (const char *FILENAME, mode_t MODE) to create
(B> > a FIFO in your application. You can then invoke imlib2 with this filename.
(B> > You must feed this FIFO with you data.
(B>
(B> Hmmm, nice idea, but I'm afraid Carsten already said it wouldn't work, it
(B> would have been a quite nice workaround.
(B
(Bit MAY work or may NOT - i can't guarantee it :) try and see :)
(B
(B> > Anyway if you explain why you must have your jpeg in memory I can help
(B> > more.
(B>
(B> I just got the file from the network, so the file is initially in memory, and
(B> I need to save a (kind of) thumbnail version of what I got, so it doesn't
(B> make much sense (IMHO) to save the full image to disk, then load it, operate
(B> over it and save the reduced version again.
(B
(Bagreed - but then again - it likely sits in the vfs anyway and the MOST
(Bexpensive part is decoding the jpeg into rgb then doing the scale those are 90%
(Bor more of the work anyway :)
(B
(B> > You probably want to decompress your jpeg. You can rip the loader code if
(B> > it quicken your app however.
(B>
(B> I'll try to use epeg to do that.
(B
(Bepeg can also do the thumbnail for you - much faster than imlib2.. it takes some
(Bmassive shortcuts that imlib2 won't... if you are just in the business of
(Bgenerating thumbnails of jpeg's... epeg is the answer :)
(B
(B--
(B------------- Codito, ergo sum - "I code, therefore I am" --------------
(BThe Rasterman (Carsten Haitzler) [EMAIL PROTECTED]
$BMg9%B?(B [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B-------------------------------------------------------
(BSF email is sponsored by - The IT Product Guide
(BRead honest & candid reviews on hundreds of IT Products from real users.
(BDiscover which products truly live up to the hype. Start reading now.
(Bhttp://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
(B_______________________________________________
(Benlightenment-devel mailing list
([email protected]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel