Wx Widgets codes for Image Rotation and Brghtness /Contrast

51 views
Skip to first unread message

Manuel Martín

unread,
Dec 4, 2008, 2:39:42 PM12/4/08
to wx-u...@lists.wxwidgets.org
> Hi there,
> Can anyone help with codes for image rotation(in multple of 90
> degrees) and brightness/contrast in Wx Widgets.
> I have been trying a few codes but none seems to work .
>
> Thanks
> Richard
>


Take a look at wxImage.
brightness/contrast is not specific to wxWidgets, but I'm sure
you can find something googling on the www and playing with
HSV colour space.

HTH
Manolo

Richard Dumenu

unread,
Dec 4, 2008, 1:37:00 PM12/4/08
to wx-u...@lists.wxwidgets.org

Vadim Zeitlin

unread,
Dec 4, 2008, 4:52:58 PM12/4/08
to wx-u...@lists.wxwidgets.org
On Thu, 4 Dec 2008 18:37:00 +0000 (UTC) Richard Dumenu <ritc...@aol.com> wrote:

RD> Can anyone help with codes for image rotation(in multple of 90
RD> degrees)

You can use wxImage::Rotate(), possibly after converting your wxBitmap to
it (and then converting wxImage back to wxBitmap).

RD> and brightness/contrast in Wx Widgets.

I am not aware of anything like this (which doesn't mean it doesn't exist,
of course).

RD> I have been trying a few codes but none seems to work .

Difficult to say what exactly the problem was without more details...

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/

Reply all
Reply to author
Forward
0 new messages