You are here

Replacing JPEG images when theming...

7 posts / 0 new
Last post
sergentsiler
sergentsiler's picture
Offline
Last seen: 1 year 10 months ago
Joined: 2007-02-28 11:37
Replacing JPEG images when theming...

we sereously need to implement a different file format to replace JPEG when theming. i came across this problem when i was making one of my recent themes. nomatter what i did or what program i used when saving to JPEG, the file is compressed in such a way that the color ff00ff, used for transparency, is smudged into the other colors thus altering it from the original color and making it show up when implemented onto the PAM. and i know that this is not due to the top bitmap layer becausei have never had a problem with this until this theme, but up until this time, when saving to a JPEG, i have never had the colors mix.

(i will edit later and post a screenshot.)

** EDIT **

this is the screenshot

David Dixon II
David Dixon II's picture
Offline
Last seen: 2 years 12 months ago
Developer
Joined: 2007-06-11 22:54
.

I don't see any other problem with the other themes, did you just try erasing it with GIMP? (the border)

Na na na, come on!

sergentsiler
sergentsiler's picture
Offline
Last seen: 1 year 10 months ago
Joined: 2007-02-28 11:37
yes...

multiple times. i have also tried simply taking the bmp and saving it as a jpg since the bmp has no errors and it still had the smudging effect.

Zoop

wk
wk's picture
Offline
Last seen: 1 year 7 months ago
Joined: 2007-09-05 12:31
replace your jpeg by a transparent sheet and..

safe your theme background as background_top.bmp like here http://ptc.kain-planet.de/details.php?file=214

"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda

MrElchbau
MrElchbau's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2007-08-28 14:20
No jpg

that's the problem by converting jpg to bmp. you could convert it simply and using it. the colors are always smudged. you have to set the magic color pixel by pixel, and there's always a hard border.
- the background.jpg is overlayed by the background_top.bmp. Parts of it will only be shown if the background.jpg is larger than the background_top.bmp.
Look to my TOS-shirt theme
http://ptc.kain-planet.de/details.php?file=78
It's a mod theme, nevertheless it's a good sample. The base pic is a jpg, but all parts where I need a transparent color are in the background-top, like choker and shoulder.
when you are using a background-top image in the same size (if you are needing round corners at the bottom) like the background top, there's also no need to make a background-image, cause it never will be shown. You easily make a white background.jpg with max compression, saving file size (look at the screwed-theme).

Life is crunchy, anywhere

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 20 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
background_top.bmp

Like MrE mentioned, just use a background_top.bmp for the ENTIRE theme image since you have rounded corners on the bottom. This won't be an issue in the next release as it uses a single PNG for the whole background.

Sometimes, the impossible can become possible, if you're awesome!

sergentsiler
sergentsiler's picture
Offline
Last seen: 1 year 10 months ago
Joined: 2007-02-28 11:37
actually...

what i was doing was saving the original theme file as background_top.bmp and then right after that i re-saved it as background.jpg.

also, me and ptmb worked out the problem, dont know what he did but all of the pink dots dissapeared.

thanks for all of the help

Zoop

Log in or register to post comments