Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Pages: [1] 2  All

Author Topic: Image quality  (Read 13811 times)

0 Members and 1 Guest are viewing this topic.

helios

  • Supporter
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
    • View Profile
Image quality
« on: December 11, 2006, 05:59:02 PM »

Hi,

I am having problems with scene png quality. The png is really fine, the quality is as I would it to be, but when I run the game, it´s not that good. It´s like there is an "image export quality" that I am missing.

Is there anything like that? Any other idea why it should be happening?

Thanks,
Helios
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Image quality
« Reply #1 on: December 11, 2006, 06:11:36 PM »

Hmm? Can you post some screenshot of what you mean? WME doesn't modify your images (other than scaling them when needed). The only known issue with PNG files is that the engine cannot read the gamma correction information some programs are saving, therefore some images may display lighter/darker than in the image editing program.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

SoundGuy

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 196
    • View Profile
Re: Image quality
« Reply #2 on: December 11, 2006, 07:56:39 PM »

Are you running your game in 16bit and not 32bit ?

Logged

jlinam

  • Supporter
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • View Profile
Re: Image quality
« Reply #3 on: December 11, 2006, 10:43:05 PM »

...The only known issue with PNG files is that the engine cannot read the gamma correction information some programs are saving, therefore some images may display lighter/darker than in the image editing program.

I'm curious to know: which graphics programs have had this issue? Is it just with .png's?

Thanks

PS - Sorry if this subject has been previously covered. I searched the forum for .png and found some info re: various programs having transparency issues,but nothing regarding gamma
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Image quality
« Reply #4 on: December 11, 2006, 11:19:48 PM »

I'm curious to know: which graphics programs have had this issue? Is it just with .png's?
If I remember correctly this issue was found with Photoshop 8. Photoshop CS2 and Paint Shop Pro don't use the gamma correction tag (maybe odnorf will correct me).
The gamma correction tag can be removed using some PNG optimizer, such as this one.
And, yes, it only affects PNG files. It's caused by using an old version of libpng which cannot read the gamma info. There are other programs affected by this issue, for example Internet Explorer.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

jlinam

  • Supporter
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • View Profile
Re: Image quality
« Reply #5 on: December 12, 2006, 12:18:09 AM »

That's useful information. Thanks!
Logged

helios

  • Supporter
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
    • View Profile
Re: Image quality
« Reply #6 on: December 12, 2006, 01:28:41 PM »

Hi Mnemonic,

I tried with jpg and it worked better, but I had some hard time with images that have shadows and need transparency. In the documentation I found this: "JPG images are only suitable for images without any transparent areas, i.e. you can use them to store solid background images, but DO NOT use them for sprites or other partially transparent graphics. It won't work." Anyway I tried and did not succeed.

So, my new question is, what are the tips for having maximum quality in images with effects like blurs, trasparency, shadows and gradient? What file format give more quality (having less limitations) and in what resolution (the game can handle)? As an example, Project Joe has good quality images with thos effects.


And, the images are created in Flash, so exported from there. And I´ll check that png software you told about :)


Soundguy, I am running under 32 bits. :)

Thanks,
Helios
« Last Edit: December 12, 2006, 01:35:53 PM by helios »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Image quality
« Reply #7 on: December 12, 2006, 01:39:32 PM »

I'd still like to see some screenshot, because I can't imagine what kind of problems with PNG you might possibly have. PNG format uses lossless compression, so the quality is always the same (unlike JPG).
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

helios

  • Supporter
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
    • View Profile
Re: Image quality
« Reply #8 on: December 12, 2006, 02:18:10 PM »

Ok, here it is:

The scene in the game (while running)



The png loaded to the scene.


Thanks,
Helios
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Image quality
« Reply #9 on: December 12, 2006, 02:53:48 PM »

Umm, am I supposed to see any difference? Because I don't think I do :)
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Image quality
« Reply #10 on: December 12, 2006, 04:38:56 PM »

Mnemonic: there's a horse missing on the second image! ;)

the second has IMo higher gama correction value.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

McCoy

  • The cocido eater
  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 365
  • Spurrrrrrring
    • View Profile
    • Spur Games
Re: Image quality
« Reply #11 on: December 12, 2006, 06:05:37 PM »

I only notice a very slight brightness difference between the two. And it could be due to the gamma correction stuff Mnemonic already mentioned.

About sharpness, they both look exactly the same to my glassed eye.
Logged

Click here to sign my sig!

adonf

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 124
    • View Profile
Re: Image quality
« Reply #12 on: December 12, 2006, 06:27:05 PM »

In Mozilla the images are exactly the same, but with Internet Explorer one is slightly brighter. Not a lot but still noticeable.
Logged
I am the Milkman. My milk is good.

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: Image quality
« Reply #13 on: December 12, 2006, 06:35:43 PM »

The two images you posted are exactly the same! The first one (the captured one) has a gamma tag but probably your screen capture program added that or you gpu drivers. That's what causing the slight brightness difference. If that's what you are meaning with "quality problems" then try to check your gpu drivers.
« Last Edit: December 12, 2006, 06:41:45 PM by odnorf »
Logged
fl*p

helios

  • Supporter
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
    • View Profile
Re: Image quality
« Reply #14 on: December 12, 2006, 06:42:47 PM »

Metamorphium, you´re correct.
It´s really small difference, and I´ll send your replies to my project designer, who said the shadows in the ground have less quality and asked me about it.

Ok, thanks all for the help!
:)
Logged
Pages: [1] 2  All
 

Page created in 0.041 seconds with 21 queries.