Actions
Support #2837
closedhow to convert QImage to WImage in wt
Start date:
03/21/2014
Due date:
% Done:
0%
Estimated time:
Description
hi
I want to convertion QImage to WImage with out QImage saving
Updated by I. Lazaridis about 10 years ago
(this is not a Urgent Bug, but a Normal Support request)
Looking at the api:
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WImage.html#details
it seems you have to go with WResource:
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WResource.html
Updated by I. Lazaridis about 10 years ago
More concrete, this one should do it (see example code)
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WMemoryResource.html#details
Updated by Koen Deforche about 9 years ago
- Tracker changed from Bug to Support
- Status changed from New to Resolved
- Assignee set to Koen Deforche
Indeed. Use a WImage in conjunction with a WMemoryResource, which holds the contents of the QImage.
Updated by Koen Deforche about 9 years ago
- Status changed from Resolved to Closed
Actions