To the mapmakers and graphics creators - use PNG/GIF!

General out-of-character discussion among players of Cantr II.

Moderators: Public Relations Department, Players Department

User avatar
marol
Posts: 3728
Joined: Sun Jul 17, 2005 11:45 am
Location: Kraków, PL
Contact:

To the mapmakers and graphics creators - use PNG/GIF!

Postby marol » Mon Jun 18, 2007 12:36 pm

Guys, I noticed recently that you don't know how good is GIF format.

I won't write long dissertation about it, instead I'll go straight to the point.
If you make maps, graphics, drawings, sketches, outlines or any other images other than photo then DO USE GIF!

- - - - - - - - - - - - JPG - - - - - - - - - - - - - - - - - - - - - - - - - -GIF - - - - - - - - - - - -
Image Image
- - - - - - - - - - - - 33,1 kB - - - - - - - - - - - - - - - - - - - - - 3,5 kB - - - - - - - - - - - - -

I think no comment needed here - GIF image is lossless - you keep all the details and it's size is 10 times smaller than JPG! Some people makes maps so big so they need to split them into smaller pieces due to upload size limit. Using GIF you can avoid that. Another advantage is that you can use transparency with GIF images.


Where GIF won't work is photos and complicated pictures like that:
Image
And last GIF limitation is that there could be only 256 colors in it.
(SRVPRC)
Image
User avatar
SekoETC
Posts: 15526
Joined: Wed May 05, 2004 11:07 am
Location: Finland
Contact:

Postby SekoETC » Mon Jun 18, 2007 12:51 pm

Usually the problem with gifs is that they try to repeat the colours by a mix of two palette colours which makes the area grainy. Also drawing programs (unless they're like MsPaint) tend to mix the colours between areas so when it's saved as or turned into a gif, it will add to the palette a tone or a few to the border areas between colours and might replace some major colour with a dotty mixture.

But anyway, what ever you do, do not save as JPG in the middle of drawing because that makes the quality go poorer each time. Save as png or bmp and only save a copy as a jpg when you're ready to upload.
Not-so-sad panda
User avatar
marol
Posts: 3728
Joined: Sun Jul 17, 2005 11:45 am
Location: Kraków, PL
Contact:

Postby marol » Mon Jun 18, 2007 1:07 pm

SekoETC, when you have less than 256 colors on the image, there will be no difference unless you use dumb program. The pallete isn't set to some predefined values, it is adapted to the image.

Here's the photo I took last week - that's why you shouldn't use GIF for colour rich photos:

GIF:
Image

JPG:
Image
(SRVPRC)

Image
User avatar
Sicofonte
Posts: 1781
Joined: Fri Feb 17, 2006 5:01 pm
Location: Into your Wardrobe

Postby Sicofonte » Mon Jun 18, 2007 1:19 pm

.


I prefer PNG


.
Tyche es una malparida. Espero que Ramnus y Pluto intervengan... o no :P
User avatar
BarbaricAvatar
Posts: 3489
Joined: Wed Mar 09, 2005 5:01 pm

Postby BarbaricAvatar » Mon Jun 18, 2007 1:21 pm

Er, i can't see any difference, except for the girl on the left's leg.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
User avatar
marol
Posts: 3728
Joined: Sun Jul 17, 2005 11:45 am
Location: Kraków, PL
Contact:

Postby marol » Mon Jun 18, 2007 1:23 pm

Sicofonte, PNG is nice, but if you don't need fancy features GIF is enough and it's still smaller.
(SRVPRC)

Image
User avatar
KVZ
Players Dept. Member
Posts: 5318
Joined: Sun Sep 28, 2003 7:04 am
Location: NightCity.2088.EXE
Contact:

Postby KVZ » Mon Jun 18, 2007 1:29 pm

Marol, the same picture from first example is 34 bytes smaller in PNG ;) Anyway it is not big difference, but some picures in PNG are much more smaller then in GIF.
Corruption born inside. I'm part of dark side / A.F.K. / We'll steal your dreams and control your minds
https://x.com/MindKiLLERx2088
Image
User avatar
marol
Posts: 3728
Joined: Sun Jul 17, 2005 11:45 am
Location: Kraków, PL
Contact:

Postby marol » Mon Jun 18, 2007 1:33 pm

Weird, my Photoshop gave me PNG with size 6,6 kB... which is 2 times bigger than GIF.

Anyway choose GIF or PNG for maps and drawings - but not JPG.
(SRVPRC)

Image
User avatar
KVZ
Players Dept. Member
Posts: 5318
Joined: Sun Sep 28, 2003 7:04 am
Location: NightCity.2088.EXE
Contact:

Postby KVZ » Mon Jun 18, 2007 1:41 pm

Maybe it is like that because I converted GIF to PNG, and maybe you tried to save PNG as 24 bit picture... PNG is flexible. It can save pictures with 256 colors palette (like GIF) as well as 24 bit pictures.
Corruption born inside. I'm part of dark side / A.F.K. / We'll steal your dreams and control your minds
https://x.com/MindKiLLERx2088
Image
User avatar
N-Aldwitch
Posts: 1771
Joined: Thu Mar 16, 2006 1:48 am
Contact:

Postby N-Aldwitch » Tue Jun 19, 2007 7:33 am

marol wrote:Weird, my Photoshop gave me PNG with size 6,6 kB... which is 2 times bigger than GIF.

Anyway choose GIF or PNG for maps and drawings - but not JPG.


Actually, yeh, what KeVes said... that's the case for me with MS Paint at least. :D
Nakranoth's "evil" character says:
"Thief! That's terrible! *shakes his head* That would hurt people's feeling if I did that."


http://www.sylorn.com - Free MMORPG in development.. need help.
User avatar
formerly known as hf
Posts: 4120
Joined: Wed Aug 04, 2004 2:58 pm
Location: UK

Postby formerly known as hf » Tue Jun 19, 2007 11:00 pm

PNG

It's non-proprietary
Whoever you vote for.

The government wins.
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Postby Doug R. » Tue Aug 21, 2007 12:47 pm

I tried uploading a png map today, and neither of my web browsers could see it. I had to convert it to a gif instead.
Hamsters is nice. ~Kaylee, Firefly
User avatar
formerly known as hf
Posts: 4120
Joined: Wed Aug 04, 2004 2:58 pm
Location: UK

Postby formerly known as hf » Tue Aug 21, 2007 1:10 pm

That's very strange. Almost any standard browser ( http://en.wikipedia.org/wiki/Comparison ... at_support ) can read and display .png

Heck, ong was designed for transferring images over the internet...
Whoever you vote for.



The government wins.
JK-Royale
Posts: 64
Joined: Thu Jul 05, 2007 1:01 pm
Location: The Netherlands, De Lier

Postby JK-Royale » Tue Aug 21, 2007 2:16 pm

Oohw, thanks.
I used to make JPG's
but i'll keep this in my mind.. :oops:
-----------
Official Cantr Translator
-----------
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Postby Doug R. » Tue Aug 21, 2007 3:48 pm

I'm on a mac, and tried both safari and Firefox. I even loaded the png directly into the browser just to make sure I didn't mess up the html, and no dice. The gif came out to be smaller anyway, so it was the better option regardless.

The -only- thing I can think is that the file was converted into a png from a power point file (in power point), cropped, and shrunk several times in graphic converter. Maybe there was some bad residual PP voodoo funking the image?

_Edit_

It must have been PP voodoo. Converting the gif back to png displayed fine.
Hamsters is nice. ~Kaylee, Firefly

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest