With SWT, I want to save the contents of a Canvas like an jpeg or png image. Looking at gfx::Image#makePainted I wonder if it is possible to do it with this method. Any example?
Thanks
brianWed 25 Apr 2012
There isn't any hook to do that in SWT today (there is a undocumented hook to do it in JS though). Assuming SWT has that functionality, would definitely be nice to get a patch to implement it.
fraya Wed 25 Apr 2012
With SWT, I want to save the contents of a Canvas like an jpeg or png image. Looking at gfx::Image#makePainted I wonder if it is possible to do it with this method. Any example?
Thanks
brian Wed 25 Apr 2012
There isn't any hook to do that in SWT today (there is a undocumented hook to do it in JS though). Assuming SWT has that functionality, would definitely be nice to get a patch to implement it.