Project

General

Profile

Support #2837

how to convert QImage to WImage in wt

Added by Anonymous over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
-
Start date:
03/21/2014
Due date:
% Done:

0%

Estimated time:

Description

hi

I want to convertion QImage to WImage with out QImage saving

#1

Updated by I. Lazaridis over 7 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

#2

Updated by I. Lazaridis over 7 years ago

#3

Updated by Koen Deforche over 6 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.

#4

Updated by Koen Deforche over 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF