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

[libcaca] Bitmap is shown vertically flipped



Hello,
  Attached with this email is a sample code of mine
that i wrote to learn to use libcaca, as i inted to
write a caca plugin for Gstreamer (www.gstreamer.net).
But I am faced with these problems:
(1) The picture is shown vertically flipped.
(2) The Red & Blue component of the pixels are
swapped.

  What i could gues about (2) is that by bitmap it's
actually meant the format of a BMP file (in which Red
& Blue are swapped?) but i am totally hopeless about
(1). Please help me out. Bye.

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-- Binary/unsupported file stripped by Ecartis --
-- Type: application/octet-stream
-- File: graphics.tgz
-- Desc: graphics.tgz


-- 
This is the libcaca mailing-list, see http://sam.zoy.org/projects/libcaca/
Trouble unsubscribing? Please contact <sam@zoy.org>