Questions tagged [pixmap]
123 questions
1
vote
2 answers
How to draw rotated image on pixmap (LibGDX)
How can I draw an image to Pixmap, but rotated by some angle, like I can do when drawing on Batch? There is no Pixmap method that has an angle as parameter, like batch drawing methods have.

MilanG
- 6,994
- 2
- 35
- 64
1
vote
1 answer
Tint a pixmap in with libgdx
I posted a question about drawing text onto a pixmap to generate dynamic textures at runtime, and that problem was resolved here
Is there an easy way that I can tint the font that I copy to a new pixmap, or do I need to do it manually pixel by…

Will Calderwood
- 4,393
- 3
- 39
- 64
1
vote
1 answer
Using filledcircle and pixmap in libgdx
I am using Libgdx.
I want to simulate fog in my game using pixmap, but I have a problem during generating the "fogless" circle. First, I make a pixmap, filled with black (it is transparent a little bit). After filling I want to draw a filled circle…

user2498846
- 23
- 1
- 5
1
vote
1 answer
Overlap Pixmap in a Texture
I would like to overlay two images in a texture in libgdx dynamically. I tried to create two pixmap and then draw them into a texture.
The problem is that the region of the transparent png on the highest level delete the picture in the background.…

user1169390
- 151
- 11
1
vote
2 answers
Upload part of Pixmap into GPU
I would like to upload part of Pixmap (specified Rectangle of it) to Texture in GPU (at specified position).
What i would like to achieve is
void updateTextureFromPixmap(sourcePixmap,sourceRectangle,destTexture, destRectangle) {
…

Paweł
- 2,144
- 1
- 18
- 25
1
vote
1 answer
Convert Gdk.Pixbuf to System.Drawing.Bitmap?
How do you convert a Gdk.Pixbuf (_pixbuf below) into a Windows Forms (System.Drawing) Bitmap? Below is code that uses Gtk.DotNet.Graphics, but it just gives a white image. Is there a better, more direct way, that works? I'm using C# on Mono, but I…

Doug Blank
- 2,031
- 18
- 36
1
vote
0 answers
ios bitmap pixels manipulation
I want to manipulate individual pixels on iOS, high performance preferably, but I am not sure where to start looking. Any good links to docs and samples? What choices there are?

exebook
- 32,014
- 33
- 141
- 226
1
vote
1 answer
R language: pixmap scale and rotate?
there
What is the best way to rotate and scale a pixmap or rtiff object?
Perhaps I have missed the facilities, but it seems the pixmap and rtiff packages don't have these features.
Appreciate your help.

user1973511
- 21
- 1
1
vote
2 answers
view image on button click. qt
I created a label in my main window and its size is set to 200x300px. now on a button click i need to view a image in it. here is the slot function of the button.
void MainWindow::function1(){
QImage img;
img.loadFromData("test.jpg");
img =…

danial weaber
- 846
- 2
- 17
- 37
1
vote
1 answer
How to save the image in a resized QLabel?
I have a QLabel that is loaded with a pixmap. I have it set so that when the window/QLlabel is resized, the image of the qlabel resizes as well. However, when I try to save the image and retrieve the pixmap, it is the original loaded. How would I…

carboncomputed
- 1,630
- 3
- 20
- 42
1
vote
2 answers
What is the most efficient way to display multiple pixmaps into a scroll area?
I am trying to make an application that displays a PDF file, using PyQt4 and python-poppler-qt4.
So far I have managed to display the entire document by loading pixmaps generated with Poppler, set on a QLabel and appended to a QFrame. The QFrame is…

neydroydrec
- 6,973
- 9
- 57
- 89
1
vote
3 answers
Gdk-WARNING **: /build/....../gdkdrawable-x11.c:952 drawable is not a pixmap or window
My OS is Ubuntu 11.10, I started Sublime Text 2 from the terminal, everytime when I operated it, this Gdk-warning will be shown on the terminal, it's very annoying. How to fix it?
$ subl . &
[1] 4294
$
(subl:4294): Gdk-WARNING **:…

khakistone
- 85
- 2
- 7
0
votes
1 answer
faster redraw of pygtk drawing area?
I'm creating a paint program based on this program. Dragging the mouse faster results in spotty brush strokes, so I'm wondering if there is a faster way to redraw the drawing area.
This is the current redraw function. It is already utilizing…

Claire
- 209
- 3
- 8
0
votes
1 answer
How do you save a .pnm plot in R interactive session?
I'm using the pixmap library here. For instance, I have some grid.pnm file I want to save in interactive mode. It seems like there are only save options for more common extensions such as jpeg, png, etc.
> grid <- read.pnm("grid.pnm")
>…

CyberShot
- 2,265
- 6
- 28
- 36
0
votes
0 answers
PyQt5 display image of pixel array
He||o,
What I want to do :
I have an array of 22x22 pixel of value between 0 and 255 (8 bit grayscale).
What I have done :
I was able to display it using matplotlib but now I want to plot it inside a PyQt5 interface.
When I create a pixmap and set…

GaetanG
- 1
- 2