Interesting Proposal

Discussion of general topics about Mozilla Firefox
amutch
Posts: 65
Joined: November 7th, 2002, 5:42 pm

Image formats

Post by amutch »

Depending on the map, you might find JPG to be a better format. We generate static maps in that format from ArcView. For our online mapping app, we use GIF. Our next version will probably use PNG.
User avatar
wget
Posts: 4701
Joined: November 8th, 2002, 9:51 am
Location: Denmark

Re: Image formats

Post by wget »

amutch wrote:Depending on the map, you might find JPG to be a better format.

Isn't jpeg better at dealing with things like photos. I think the jpeg artifacts are too noticable when you compress maps that consist of line-art.
amutch
Posts: 65
Joined: November 7th, 2002, 5:42 pm

JPEG

Post by amutch »

In some cases, you are dealing with aerial photos or other maps that have a large number of colors that GIF and others don't display well.
User avatar
flii
Posts: 2208
Joined: November 6th, 2002, 11:29 pm
Location: hickville, south dakota
Contact:

Post by flii »

i know that's how i decide whether to use gif or jpg. gif is nice in that it animates, has transparency, and clear lines, but for pictures with more than 256 colors, gif looks horrible. they both have definate advantages. :)
User avatar
xfranky
Posts: 2059
Joined: December 5th, 2002, 11:10 am
Location: Italy
Contact:

Post by xfranky »

What about PNGs???
..::XF::..
User avatar
flii
Posts: 2208
Joined: November 6th, 2002, 11:29 pm
Location: hickville, south dakota
Contact:

Post by flii »

XF wrote:What about PNGs???

believe it or not, i only learned about png from lynch when he was talking about his themes. before that i always used gifs. what are the goods and bads of png vs gif? i really haven't seen any, except sites that complain gif will be taken away.
User avatar
priior
Posts: 374
Joined: November 10th, 2002, 3:45 pm
Location: montreal

Post by priior »

flii: the reason u dont see much png around is because ie doesnt support them :-/

but for an internal database project... png would probably be the best choice!
seb
Posts: 1578
Joined: November 4th, 2002, 11:26 pm
Location: Paris, France
Contact:

Post by seb »

IE6 does support .png files. It only doesn't support the alpha transparency layer of PNG (normal transparency works).
IE5-Mac has a full support of PNG files.
User avatar
priior
Posts: 374
Joined: November 10th, 2002, 3:45 pm
Location: montreal

Post by priior »

netsabes: mea culpa. i should have mentioned "doesnt fully support"... :)
User avatar
wget
Posts: 4701
Joined: November 8th, 2002, 9:51 am
Location: Denmark

Re: JPEG

Post by wget »

amutch wrote:In some cases, you are dealing with aerial photos or other maps that have a large number of colors that GIF and others don't display well.

PNG isn't limited by a 256 color palette.

Flii wrote:what are the goods and bads of png vs gif?

There's license issues with the .gif format. PNG is a free (and Free) standard not controlled by a corporation. Freedom aside, it also produces smaller files (usually), it supports an alpha channel (this is a very nice feature) and it has a larger color space (gif only supports 256 colors).
User avatar
rbrimhall
Posts: 332
Joined: November 13th, 2002, 11:20 pm
Location: Memphis, TN

Post by rbrimhall »

Found out that I can export arcmap files as PNG with an extension... cool that ESRI (the top GIS solution) supports this format.
User avatar
djst
Moderator
Posts: 2826
Joined: November 5th, 2002, 1:34 am
Location: Sweden
Contact:

Post by djst »

Netsabes wrote:IE6 does support .png files. It only doesn't support the alpha transparency layer of PNG (normal transparency works).
IE5-Mac has a full support of PNG files.


Actually, it doesn't really matter if you have IE6 or IE5 installed. On Windows XP, png:s are supported, but on NT4 they are not, regardless of what version of IE you have installed.

Appearantly (and not quite surprisingly), it's an OS feature.
seb
Posts: 1578
Joined: November 4th, 2002, 11:26 pm
Location: Paris, France
Contact:

Post by seb »

IE5-mac is totally different from IE5-PC or IE6-PC. They do not use the same rendering engine, and in some domains, IE5-mac is far better than IE-PC (they have a better CSS support, for example, and of course a full support of PNG).
And I highly doubt that IE6 on WinXP supports PNG's alpha transparency :) I would be surprised.
User avatar
wget
Posts: 4701
Joined: November 8th, 2002, 9:51 am
Location: Denmark

Post by wget »

Netsabes wrote:And I highly doubt that IE6 on WinXP supports PNG's alpha transparency

It doesn't.

... and in other news, Hell is still awfully warm.
User avatar
Stefan
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post by Stefan »

Flii wrote:
XF wrote:What about PNGs???

believe it or not, i only learned about png from lynch when he was talking about his themes. before that i always used gifs. what are the goods and bads of png vs gif?


PNG is better in every possible aspect.

The only advantage GIF has is that the animated version of PNG (called MNG) is badly supported in browers, and that is of cource not an issue of PNG/MNG itself but due to lazy browsermanufacturers.

Gecko BTW support MNG.
Last edited by Stefan on December 12th, 2002, 2:55 pm, edited 2 times in total.
Post Reply