qimage
How to output this 24 bit image in Qt
I have an unsigned char array that is defined like so: unsigned char **chars = new unsigned char *[H];[详细]
2023-02-05 04:23 分类:问答Watching a QImage during single-stepping
I\'m debugging a huge Qt app with hundreds of classes, messy code, etc.While tracking down a bug, I want to single-step in gdb (kdbg, ddd, whatever) while watching what gets drawn into a QImage using[详细]
2023-02-02 12:15 分类:问答How to display a QImage in QWebKit?
Is there any way to display a QImage (in memory, not on filesystem) in a QWebFrame without writing the ima开发者_运维问答ge out to a temporary file?One option might be using the data URI scheme. You b[详细]
2023-01-29 08:33 分类:问答How to make a QImage or QPixmap semi-transparent - or why is setAlphaChannel obsolete?
4.7 and like to overlay two images on a qgraphicsview. The image on top shall be semi-transparent to allow to see through it. Initially both images are fully opaque. I expected some function for setti[详细]
2023-01-24 17:38 分类:问答Constructing QImage from unsigned char* data
I encountered a problem with passing Image object (captured with Point Grej FlyCapture2 SDK) to QImage object. I am getting a pointer associated with Image data by function:[详细]
2023-01-22 08:00 分类:问答Converting an image to text
I want to be able to save an image as text in a xml file and I can\'t manage to find a efficient way to do it ![详细]
2023-01-16 06:17 分类:问答QGraphicsView scrolling and image scaling/cropping
I would like to have a background image in my QGraphicsView that is always scaled (and cropped if necessary) to the size of the viewport, without scrollbars and without scrolling with the keyboard and[详细]
2022-12-24 04:37 分类:问答QImage from datastream
I\'m using the Qt library, creating QImages. I\'m able to use this constructor: QImage image(\"example.jpg\");[详细]
2022-12-21 10:17 分类:问答How to check if file is/isn't an image without loading full file? Is there an image header-reading library?
edit: Sorry, I guess my question was vague. I\'d like to have a way to check if a file is not an image without wasting time loading the whole image, because then I can do the rest of the loading late[详细]
2022-12-15 06:42 分类:问答How to solve QPixmap::fromImage memory leak?
I have a problem with Qt. Here is a part of code that troubles me: void FullScreenImage::QImageIplImageCvt(IplImage *input)[详细]
2022-12-12 05:49 分类:问答