qimage Questions

2

I am trying to create images from text using QImage. As per the documentation here: http://doc.qt.io/qt-5/qimage.html#Format-enum We cannot use QImage::Format_Indexed8 with QImage. I cannot use Q...
Tallyman asked 24/9, 2011 at 10:32

1

Solved

I'm trying to create a QPixmap from a numpy array. The numpy array image is going to be 2D (ie no color info just grayscale). I'm trying to adapt this answer to my needs however I don't quite unde...
Phenetole asked 10/1, 2015 at 2:26

3

Solved

I'm new to graphics programming (pixels, images, etc..) I'm trying to convert Raw data to QImage and display it on QLabel. The problem is that, the raw data can be any data (it's not actually image...
Kealey asked 28/1, 2013 at 13:32

3

Solved

I have an image, and I want to divide this image to n pieces. So what I'm wondering is that how can I do this with QImage? Or is there a better(performance wise) Qt class for this task? For exampl...
Boomerang asked 1/10, 2012 at 21:43

3

Solved

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 se...
Audwen asked 13/11, 2010 at 13:12

1

Solved

Can anyone help me resize an image in qt without making the image pixelated. Here's my code. the result is not as good as the original quality..thanks... QImage img(name); QPixmap pixmap; pixmap =...
Wreathe asked 26/3, 2014 at 5:46

2

Solved

I wanted to know if there was a way to determine if a QImage is valid. I am displaying that image as a pixmap in QLabel and sometimes when the image is not valid. It is not displayed in the QLabel,...
Altis asked 1/1, 2014 at 18:49

2

Hi I am developing a blackberry10 app. Inside the app I have two images and I just need to merge these two images into a single image. There is no function in Cascades to combine them. When I...
Dignitary asked 25/9, 2013 at 7:32

5

Solved

I am new to Qt, and I am trying to create a simple GUI Application that displays an image once a button has been clicked on. I can read the image in a QImage object, but is there any simple way to...
Myxomycete asked 17/12, 2010 at 19:31

1

Solved

My application receives a live-stream of JPEGs over network (16 frames per second). The live-stream should be displayed using QML. The receiving part is written in C++, all the UI is written using ...
Finbar asked 18/7, 2013 at 15:53

2

Solved

//Sorry for my english. Tell me please, what I am doing wrong? I have read a lot about this. And write some code, but I have a terrible result. As I understand in Opencv CV_8UC3 is the same as QI...
Tachygraphy asked 15/6, 2013 at 20:51

1

I work with my colleagues on the same project on Windows 7 64 bit version, Visual Studio 2008. They load JPG and they work. Through QPixmap and Stylesheets. And works. But for me, i can only work ...
Outman asked 14/2, 2013 at 15:49

1

I need to access the pixel data in a qimage object with PyQt4. The .pixel() is too slow so the docs say to use the scanline() method. In c++ I can get the pointer returned by the scanline() metho...
Webbing asked 6/7, 2012 at 9:58

2

Solved

My program generate 3 different images and I'd like to combine them using some opacity settings. First I have the raw image, which I already converted into a QPixmap to display it in a QGraphicsVi...
Leia asked 20/6, 2012 at 14:46

2

Solved

I am looking for a way to simply paste some Qimage into bigger one, starting with some given (x,y). Now, I am copying pixel by pixel all Qimage.
Who asked 30/8, 2010 at 16:51

1

I have the following UI, where the sonogram (freq+time sound representation) is shown. So the image is not loaded from somewhere, it is drawn by QPainter while reading WAV file. My current imple...
Landwaiter asked 25/2, 2012 at 17:57

3

Solved

I've very recently picked up Qt and am using it with OpenGL The thing though is that when moving my SDL code to Qt and changing the texture code to use QImage it stops working. The image does load...
Antimatter asked 17/3, 2011 at 5:25

1

Solved

I have an unsigned char array that is defined like so: unsigned char **chars = new unsigned char *[H]; for(int i = 0; i < H; i++) { chars[i] = new unsigned char[W*3]; } Where H is the heigh...
Extraversion asked 19/1, 2011 at 0:26

3

Solved

How do I save a file with transparency to a JPEG file without Qt making the transparent color black? I know JPEG doesn't support alpha, and the black is probably just a default "0" value for alpha,...
Barram asked 11/10, 2009 at 2:0

1

Solved

I'm currently in the process of writing a steganography application with Qt. I am trying to hide my message bits in the least significant bit of the blue colour of the pixel. From debugging I can ...
Interlude asked 13/5, 2009 at 13:32

© 2022 - 2024 — McMap. All rights reserved.