Home Forum Downloads My Favorites Register FAQ Mark Forums Read

Go Back   EQInterface Forums > EQ Mac Interface Discussion > EQ Mac Development
User Name

Thread Tools Display Modes
Old 10-24-2003, 12:28 PM   #1
A Gray Wolf
Join Date: Oct 2003
Posts: 4
Interface Author - Click to view interfaces
Default Accessing graphics in a .png file

Well, I decided to give this UI thingy a try.

Since my main is a Vah Shir Beastlord I decided to give xloredarkhelm's Vah Shir Beastlord skin a try.

I knew it wouldn't work right out of the box, so I started simply, by loading the files one at a time, and debugging as I went along.

I barely got started when I noticed that the graphics files weren't loading correctly. Specifically, the graphics from the PointerPieces.png file.

The other working UIs I have seen on the Mac do not seem to use .png files, rather they all seem to use the Targa (.tga) format.

I converted the PointerPieces.png to a .tga file, but still was unable to load graphics from the file.

Has anyone gotten graphics to load from .png files on the Mac yet?
Lianfyrr is offline   Reply With Quote
Old 10-25-2003, 02:06 AM   #2
Kudane's Avatar
Join Date: Jul 2002
Server: Xegony
Posts: 2,145
Interface Author - Click to view interfaces

PNGs support transparent backgrounds.
TGAs use alpha mask to cut out the background

If you opened the PNG and did not make a alpha channel mask before saving it, you will not see any of the graphics when you load it as a TGA.

just a tip that might help.

.: Have a question? Read this :.
[ F.A.Q ]
Kudane is offline   Reply With Quote
Old 10-29-2003, 01:26 AM   #3
A Gray Wolf
Join Date: Oct 2003
Posts: 4
Interface Author - Click to view interfaces

It turns out that the EQMac client is a little more picky with regards to the dimensions of the graphics file.

There is a graphics tutorial somewhere on this site that says the dimensions of your image file must be in powers of 2 (ie: 128x256).

Several of the images I downloaded for my experimental skin were of odd dimensions. Once I rounded them up to the nearest power of two, they loaded fine.

I assume that since these skins work on the PC side, the PC client allows the odd sized images.
Nikolai Lianfyrr of Al'Kabor
Khati Sha Feral Lord
Lianfyrr is offline   Reply With Quote
Old 11-03-2003, 11:38 PM   #4
Denizen of the Interface
aeluin's Avatar
Join Date: Sep 2002
Server: Tholuxe Paelis
Posts: 279
Send a message via AIM to aeluin

The PC client will usually use odd-size images (assuming the moon isn't in the wrong phase and the correct number of sheep have been sacrificed to Sony this week), but we occasionally get weird bugs from them too. Mac code just tends to be a little less flexible (and hence more stable, once you finally do get it working) If you download anything with odd-size images, just resize them and they should load fine. You lucky people have built-in graphics editing programs, so that shouldn't be a problem. /sighs

Oh, and if you have anything over 512x512 pixels, we *strongly* suggest that you break it down into 2 or more smaller files.
"All that is gold does not glitter, not all those who wander are lost; the old that is strong does not wither, deep roots are not reached by the frost. From the ashes a fire shall be woken, a light from the shadows shall spring; renewed shall be blade that was broken, the crownless again shall be king." -Aragorn's Theme by J.R.R. Tolkien
aeluin is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -5. The time now is 04:46 PM.

vBulletin Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.