how can we resize the image we have already downloaded?
for example this is my code
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Shared_Image.H>
#include <FL/Fl_JPEG_Image.H>
#include <FL/Fl_Box.H>
int main() {
fl_register_images();
Fl_Window win(720,486);
win.fullscreen();
int a=win.w();
int b=win.h();
Fl_Box box(FL_UP_BOX,20,20,a-40,b-40,"houssem");
Fl_JPEG_Image jpg("/home/houssem/Desktop/stagecynapsys/images/fond.jpg");
box.image(jpg);
win.end();
win.show();
return(Fl::run());
}
how can I resize jpg ?
or do I resize it before downloading ?
_________________________________________________________________
Hotmail : un service de messagerie gratuit, fiable et complet
https://signup.live.com/signup.aspx?id=60969
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk