On Thu, Mar 14, 2002 at 05:27:43PM -0300, Bruno Muller Junior wrote:
> 
> 
> I'm writing an application that reads a frame, do some operation on it
> and later writes it to another file. 
> 
> When reading, the frames comes upside down and I flip them to get them
> wright. This allow me to use some lagacy C image operations I
> have. Later, when I write the frame to the other file, I first convert
> it to CImage and then I write it down (using AddFrame (CImage*)). But
> then I get the image upside down (again).
> 
> I'd like to know if there is a build-in function to flip the image
> (upside down) directly. I tried, but I didn't find it.

You can set the direction of an image you decompress with IAviReadStream
->SetDirection(). You can also compress an upside down image if its height
is negative, but I think not all compressors understand that.

kabi, please correct me if I am wrong.

Greetings,
Oliver
-- 
It's true! The author of masqmail mailed to you!
See http://masqmail.cx/masqmail/

Attachment: msg02962/pgp00000.pgp
Description: PGP signature

Reply via email to