Andreas Beck <[EMAIL PROTECTED]> writes:
> > > > It should also be able to convert images between different formats.
> > > That could be done by chaining a load and a save call appropriately.
>
> > Not very good performance wise. You should really be able to do
> > read-from-memory-into-register, convert, write-to-final-destination
> > for each pixel (for cases where pixels don't affect eachother that
> > is).
>
> Sure. This is how I meant it. It is defintely no good to have
>
> LoadImageToTempSpace();
> SaveImageFromTempSpace();
>
> I rather thought of something akin to
>
> while(write(handle,buffer,read(handle,buffer,bufsize)));
But there you use 'buffer' as temporary storage, which is exactly
what I want to avoid. Or do you intend some non-obvious magic?
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: [EMAIL PROTECTED]