Himadri Sarkar wrote:
> I have an image in my buffer as unsigned char *
> how can i scale the image to some other height
> and width.

The simplest way is to create an Fl_RGB_Image from your buffer and
then call the copy() method with the new width and height.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to