PNG Images Corrupted in Widgets

Look fine in Photoshop and Corel Draw

Saturday, February 23, 2008 by FlashPeppy | Discussion: DesktopX

Pngs I create with Photoshop or Corel Draw with transparent backgrounds are all corrupted on the the screen when loaded into a widget: black square with image all squished to one side.

These images look fine in all other applications.

Help!

HG_Eliminator
Reply #1 Saturday, February 23, 2008 6:25 PM
ok they will need your system info, CPU, OS version and service pack, Vcard and driver#'s etc as well as what version of DX your using, to start with
Bichur
Reply #2 Saturday, February 23, 2008 7:20 PM
screen shot?

are you saving as? or exporting for web?
Bichur
Reply #3 Saturday, February 23, 2008 7:37 PM
are you creating your own widget, modifying a widget?
Bichur
Reply #4 Saturday, February 23, 2008 7:42 PM
what widget?
what version of DTX?
Bichur
Reply #5 Saturday, February 23, 2008 7:43 PM
nvm... here's the answer....


42
SirSmiley
Reply #6 Saturday, February 23, 2008 8:03 PM
nvm... here's the answer.... 42


????

No more caffeine after 6 pm for you!
FlashPeppy
Reply #7 Sunday, February 24, 2008 11:10 AM
I'm so new at this. Have had this less than a week.

Okay, I'm modifying the Fishy widget to try and learn how to make these widgets. So I tried replacing the image with one of my own.

I can't give you a screen shot. Not sure why. I'm running the Aquarium Desktop and neither Corel Capture nor SnagIt will capture anything.

Anyway, I'm using:

DesktopX Version 3.49f[rd].017
Windows XP Professional 2002 Service Pack 2
Intel Core 2 Quad CPU Q6600 @ 2.40 GHz
4GB DDR2 SDRAM 800MHz, Dual Channel DT
256MB NVIDIA GeForce 8600GTS 2DVI

Is this enough info?

Here's the lowdown:

Looks fine:








FlashPeppy
Reply #8 Sunday, February 24, 2008 11:12 AM
Oops, hit the enter button.

What looks fine:

images created by others transparent or other
images created by me - no transparency

What is distorted (sometimes no color)

images created by me with transparency, even though they look fine in other apps.

Thanks so much for replying to my post. I sure appreciate your help.
SirSmiley
Reply #9 Sunday, February 24, 2008 11:17 AM
I'm modifying the Fishy widget


That's an animated widget. In object properties select the states tab. At the bottom select the animation tab. Change frames to 1.
bilbo1930
Reply #10 Sunday, February 24, 2008 11:43 AM
nvm... here's the answer.... 42


ok, but where is the question for this answer?
or Bichur fun of The Hitchhiker's Guide to the Galaxy..
FlashPeppy
Reply #11 Sunday, February 24, 2008 11:44 AM
Yes, afraid I already did that and it made no difference. This is stumping me.
SirSmiley
Reply #12 Sunday, February 24, 2008 5:31 PM
So, did you remove the script and change the states?
FlashPeppy
Reply #13 Monday, February 25, 2008 10:04 AM
I didn't remove the script because I want to play with the movement part, but good point so I just now created a widget from scratch and the first thing I did was upload a png with transparent background that I created and it is corrupted and distorted.

Next, I uploaded a png with no transparent background and it looked fine.

Is it the software I'm using to create the pngs? Corel Draw X3 and Photoshop 6?

What applications does everybody else use to create pngs with transparent backgrounds?

FlashPeppy
Reply #14 Monday, February 25, 2008 10:52 AM
FIXED!

The problem was this:

To apply transparency to my image, I had to switch to Indexed Color and that made the distorted image.

I reloaded the image into Photoshop and switched it to RGB color and voila! Perfect transparency in a widget.

Gee, am I the only one who's ever had this problem?

Thank you people for all your interest and help!
SirSmiley
Reply #15 Monday, February 25, 2008 5:05 PM
Glad to hear.

Have never had that problem because I've never used indexed images only True Color. It makes sense though.
Was pretty sure it wasn't a DX issue.
FlashPeppy
Reply #16 Wednesday, February 27, 2008 9:55 AM
I had no idea what the problem was but would never blame the software unless I was positive. I did think this forum was the place to go though since you all are experienced with DX and I figured someone might have already run into the problem.

This is some great application, isn't it? I mean, it was easy to understand from the get go and is so refreshing not to have to look at the same screen 24/7.

I stumbled on the DX site by going to Microsoft and looking for icon editing software and almost bought Icon Packager but noticed the ad on the sidebar about DesktopX and clicked on it. What luck!

Now all I have to do is learn VBScript. I use a lot of Visual Basic 6 in my work, what pertains to my needs, but now there is something new to learn. Woo hoo!
ZubaZ
Reply #17 Wednesday, February 27, 2008 4:42 PM
This is some great application, isn't it? I mean, it was easy to understand from the get go and is so refreshing not to have to look at the same screen 24/7.
Glad you are enjoying DX.

It really is a great development platform.  It's easy to understand out of the box but can handle very complex situations.

I look forward to your work.
SirSmiley
Reply #18 Wednesday, February 27, 2008 5:13 PM
Yeah, it is the easiest Widget Engine out of the box.

I use a lot of Visual Basic 6 in my work, what pertains to my needs, but now there is something new to learn. Woo hoo!


Came it at with basic VBA experience. You should have no problem picking up vbscript. Not to mention being able to use activeX is nice feature.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01