View topic - PNG problems
PNG problems
4 posts
• Page 1 of 1
PNG problems
Hello,
I've got some PNG icons, which under 6.2.1 tended to work as pictures
on PtButtons. Now I'm on 6.3 I'm having some difficulty using them. When
I import them in PhAb, they look fine in the image preview, but do not
show up at all on the button. The same applies if they are loaded at
runtime and PtSetResource them onto the button. The GIF version of the
icon works OK, but look rubbish due to their lack of alpha blending.
I can use some PNGs, which do not have transparency, but again, they
look bad on PtButtons. Is this a known problem, after all, they tended
to work under 6.2.1 (some of them could crash PhAb if I used them though).
One more thing, anyone got any recommended tools for scaling graphics
under QNX, other than ImageMagick or XV? Nothing against those tools,
but I'm after something smaller, with good quality scaling and image
conversion.
Cheers
Garry
I've got some PNG icons, which under 6.2.1 tended to work as pictures
on PtButtons. Now I'm on 6.3 I'm having some difficulty using them. When
I import them in PhAb, they look fine in the image preview, but do not
show up at all on the button. The same applies if they are loaded at
runtime and PtSetResource them onto the button. The GIF version of the
icon works OK, but look rubbish due to their lack of alpha blending.
I can use some PNGs, which do not have transparency, but again, they
look bad on PtButtons. Is this a known problem, after all, they tended
to work under 6.2.1 (some of them could crash PhAb if I used them though).
One more thing, anyone got any recommended tools for scaling graphics
under QNX, other than ImageMagick or XV? Nothing against those tools,
but I'm after something smaller, with good quality scaling and image
conversion.
Cheers
Garry
- Garry
re:PNG problems
I believe this is a graphics driver problem. I'm trying to do exactly the same thing. I created a test project in PhAB some number of months ago that uses a test PNG image. The image is loaded onto a couple PtButton widgets. It's supposed to look like a red button with an alpha blended edge and transparent around. This worked fine earlier.
Now when I load the project up again, it doesn't work at all. I get the same problems you're seeing. Just to make sure it's not me, I copied the whole project onto a thumbdrive and brought it to a different machine. The image worked fine there.
I'm going to open a support ticket with QNX.
Now when I load the project up again, it doesn't work at all. I get the same problems you're seeing. Just to make sure it's not me, I copied the whole project onto a thumbdrive and brought it to a different machine. The image worked fine there.
I'm going to open a support ticket with QNX.
- aaronf
- Active Member
- Posts: 14
- Joined: Thu Feb 08, 2007 7:46 pm
RE: re:PNG problems
Hello aaronf,
Did you open a support ticket and, if so, what was the QNX response?
Did you open a support ticket and, if so, what was the QNX response?
- rlb
- Active Member
- Posts: 79
- Joined: Wed Mar 17, 2004 7:06 pm
- Location: USA - Pacific Northwest
RE: re:PNG problems
Sorry for the late respone. Not sure if you're still looking for a solution to this, but we believe this to be a driver issue. We have two machines. The same project works fine on one but not the other. The one that works is using the i830 driver. The one that doesn't is using i810.
- aaronf
- Active Member
- Posts: 14
- Joined: Thu Feb 08, 2007 7:46 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests