Slashdot Mirror


Feature:The Story of PNG

Greg Roelofs, author of PNG: The Definitive Guide, has written a feature on the PNG graphic format. The format has many technical advantages, yet it still isn't gaining acceptance. Personally, I just want a real alpha channel on web pages (well, and anti-aliased fonts, but lets cross one bridge at a time), Anyway, read what Greg has to say on the subject of PNG:

I hadn't intended to write anything up so soon, but lately there's been a lot of FUD and some general cluelessness about the Portable Network Graphics (PNG) image format, so here's an update from somebody who knows a tiny bit about it.

First of all, PNG is certainly not dead, although it obviously has not taken the Widely Webbed World completely by storm (which, in the eyes of the esteemed Mr. Veen, amounts to the same thing). For better or for worse, Netscape Navigator and Microsoft Internet Explorer pretty much define what counts as acceptable Web technology, and they only began supporting PNG natively in the autumn of 1997 (versions 4.04 and 4.0, respectively). As various Slashdotters have noted, neither one really supports PNG well yet, at least with respect to alpha transparency and gamma correction, but that's coming; let me return to that issue in a moment.

PNG has been making steady progress, however, particularly in non-Web applications. It has advanced from being a newsworthy ``extra'' to being an expected, standard component of image applications; in other words, a viewer or editor that ships without PNG support is considered deficient by both consumers and the trade press. That's a moderately subtle point--it doesn't necessarily leap right out at you and scream, PNG has arrived, dammit!, but it's nevertheless quite a significant milestone for any new technology. Mundane can be good. (By the way, I maintain the PNG home site and list known PNG-supporting applications of various persuasions on half a dozen pages; stop by if you're in need of something, and please let me know if I've missed any!)

But that's just one data point. Everybody's favorite technical publisher, O'Reilly and Associates, not only includes PNG chapters in a number of its books (including Web Design in a Nutshell and the soon-to-be-released Programming Web Graphics with Perl & GNU Software ), they also agreed to publish an entire 700-page book completely devoted to the Portable Network Graphics format: PNG: The Definitive Guide . It consists of around 300 pages of main text, 100 pages of program listings (both Unix/X and 32-bit Windows, under a BSDish license, freely downloadable soon), 250 pages of specifications, some fairly cool color figures, and assorted odds and ends; I happen to know because I wrote it. :-) (It just went into production on Monday, so it should hit the shelves in a few months, plug plug. I'll be updating the web page with dates and whatnot as soon as I find out myself.)

In addition, PNG has been published as an informational Internet RFC and a a W3C Recommendation (the very first one), and it's now wending its way through the slowly grinding gears of joint ISO/IEC standardization. That will all help ensure its longevity, but it's also fairly boring to most of you, I'm sure.

So getting back to the Web issue, let me briefly summarize PNG's basic capabilities:

  • palette-based support (1, 2, 4, 8-bit), like GIF
  • grayscale support (1, 2, 4, 8, 16-bit)
  • truecolor support (24, 48-bit), like TIFF or (sort of) JPEG
  • binary transparency, like GIF (except including grayscale and RGB modes, not just palette-based)
  • alpha transparency (256 or 65536 levels of partial transparency), like TIFF
  • alpha-palette transparency (that is, palette has RGBA entries, not just RGB), unlike anything else on the planet
  • direct support for gamma correction and color correction
  • lossless, unpatented compression
  • 2D interlacing, somewhat like progressive JPEG
  • no animation (but a closely related format called MNG)

The patent issue is largely history, except to shareware and freeware authors, for whom it's still quite real--Unisys lawyers continue their apparent crusade to kill all low-cost GIF-supporting software. What really matters to Web developers, however, is PNG's support for palette images (no, they don't all have to be really fat, 24-bit monsters); its support for alpha transparency even in palette images; its support for gamma and color correction; and the fact that its compression is lossless (which is why 24-bit PNG images are so fat, especially compared to lossy JPEG). In other words, for the same number of bytes as a binary-transparency GIF image, you can have a lovely alpha-palette PNG image that, thanks to gamma correction, will not look too light on Macs or too dark on PCs. The alpha support means it can be anti-aliased or drop-shadowed to look good against any background, not just a single, flat color. Note that MSIE 4.0 already supports gamma correction, and 5.0 is supposed to do full alpha transparency; we'll find out next month, I guess. Mozilla/Netscape 5.0 will also support both alpha and gamma, or else--I'm the nominal ``owner'' of Mozilla's PNG support, and now that the book is done, I intend to do some serious hacking. (Apologies for the 10-month delay!)

Since PNG pushes the envelope on a lot of image-related stuff--alpha transparency (no other Web formats), RGBA-palette images (no other format, period), gamma and color correction (almost no other formats), and even compression/filtering (it has a bunch of free parameters that one can tweak)--many of the current applications are somewhat behind in supporting some of the features. Be patient; things are steadily improving. I won't point fingers at any underperformers here, but I will note that the GIMP is quite strong in compression and 32-bit RGBA and should have fully working gamma code in the next release after 1.0.2; and Fireworks 1.0 is already partway there with RGBA-palette support and should be completely spiffy by version 2.1 or 3.0. (I didn't quite get my feedback in on time for it to affect the 2.0 release. If only they'd had a Linux version to try...)

I'm hopeful the book will help many of the others--it includes a lot of material aimed at helping programmers to improve their code, but also a lot of stuff to help users avoid problems and make the best of what options they've got. And if I have time while I'm working on Mozilla, I plan to release a free, automatic 32-bit to 8-bit (RGBA to RGBA-palette) converter to handle what seems to be the hardest PNG feature to support. Such conversion literally gives you a factor-of-four reduction in file size with essentially no visible loss (no more than normal RGB-to-palette conversion with nice dithering, anyway).

So...that, in a largish nutshell, is the past, present and future status of PNG. As for new competition, well, let's just say that there have been lots and lots and lots of fantastically improved, incredibly stupendous image formats that have come and gone over the years; ``WI'' is merely the latest, and SVG and JPEG2000/JPEG-LS are right around the corner. Anybody remember Johnson-Grace/AOL's ART format? How about Iterated Systems' fractal format (FIF)? Or some of the quadtree-based ones, or SPIHT, or FlashPix, or JPiG, or CMP, or ePIC, or HARC-C? Heck, even JPEG with arithmetic compression is considerably better than standard DCT-Huffman JPEG, but does anybody actually use it? No. Proprietary standards are simply not tolerated very well on the Web. Even free, open standards like PNG (with free, open-source, non-GPL'd reference libraries) have a huge barrier to climb. It took ``standard'' JPEG four years to catch on; it's taken PNG four years to catch on (yes, it's really been that long, and 2.5 years since the W3C Recommendation); and, barring largish miracles--e.g., Netscape and Microsoft cooperating--it will take any other new image format just as long.

There you have it. There's lots more info on the web site, and there are a couple of mailing lists for folks who really want to get gnarly with PNG. Oh, and please buy the book. ;-)

130 comments

  1. New here, have a question by Anonymous Coward · · Score: 0

    I haven't heard much about PNG and from the technical side, this sounds like an excellent format.

    I'll may get flamed for asking, but could someone please post links to any free- or share- tools for Windows (NT). (I don't have a Linux box yet-- if I did, I wouldn't have asked.)

  2. anti-aliased definition? by Anonymous Coward · · Score: 0

    Anti- aliasing is a grphics smooting technique that basically blurs the line between two color regions so that your graphics look smooth and don't have jaggies. You can see an example of this by opening up any graphics program. Open 2 new documents, one in 72 dpi and one in 300 dpi. Now type something in both. Zoom in to 400-800% and compare the two doccuments. The 300dpi image has a more fine anti-alias, and therefore looks a lot nicer. This is espicalyy important for web graphics b/c you want your transitions fom graphics to background to be as seemless as possible

  3. non portable tiff? by Anonymous Coward · · Score: 0

    wtf?

    tiff is usually the one thing that you can rely on

    jpeg's give the most hassle . . . try getting a new jpg out of photoshop into an old (but still useful) version or coreldraw . . .

    or have fun with cmyk jpeg's in web browsers and other programs

    hrrrmmm . . . would like to know others experience, but I thought tiff had a pretty well defined spec . . . I use it nearly every day and have never had a portability issue

  4. IE5 PNG Support... by Anonymous Coward · · Score: 0

    Yup... looks like the Alpha blend support is in there.

  5. anti-aliased definition? by Anonymous Coward · · Score: 0
    It's a method of increasing smoothness, removing "jaggies" from non-vertical/horizontal lines.

    Imagine a slightly off-horizontal line:

    XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXX where X is a solid black pixel. Now replace the sharp gaps with progressive greys fading out on the top and in on the bottom:

    XXXXXXXXXXXXXXXXXxx::-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --::xxXXXXXXXXXXXXXXXX

    Squint at these, and you may notice the bottom one appears smoother, without increasing the resolution used. Next time you see the Win 95 boot splash screen, have a look at the text. Hideous close up, but smooth from a distance. Mark.

  6. anti-aliased definition? by Anonymous Coward · · Score: 0
    Apologies - let's get it right this time...

    It's a method of increasing smoothness, removing "jaggies" from non-vertical/horizontal lines.

    Imagine a slightly off-horizontal line:

    XXXXXXXXXXXXXXXXX.................
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    .................XXXXXXXXXXXXXXXXX
    where X is a solid black pixel. Now replace the sharp gaps with progressive greys fading out on the top and in on the bottom:

    XXXXXXXXXXXXXXXXXxx::--................
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    .................--::xxXXXXXXXXXXXXXXXX

    Squint at these, and you may notice the bottom one appears smoother, without increasing the resolution used.

    Next time you see the Win 95 boot splash screen, have a look at the text. Hideous close up, but smooth from a distance.

    Mark.

  7. The REAL story of PING by Anonymous Coward · · Score: 0

    Hey, I know it's not the same thing, but I asked to have this posted a while ago and it wasn't.

    Read the first review at:

    http://www.amazon.com/exec/obidos/ASIN/014050241 6/


    For the Story of PING

    1. Re: The REAL story of PING by Gleef · · Score: 1
      --

      ----
      Open mind, insert foot.
    2. Re: The REAL story of PING by Cave+Newt · · Score: 1

      ...hence the title of my article (which was actually submitted on 24 February, I think, less than a month after the ping story).

      Another minor factoid: I had the penguin (or "pnguin") until Tim O'Reilly stepped in and said that penguins only go with Linux books (even though all of their Linux books to date use horses, sigh...). Anyway, my second choice was a duck, but the designer who does the covers apparently decided that wasn't cute enough and gave me a rat instead. Bargh. I still have the first draft with a penguin on the cover, though...
      he was pretty cute, too.

      --
      -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  8. Yes PNG is lossless by Anonymous Coward · · Score: 0

    Yes the files are bigger then a Jpeg's but
    JPEG doesn't support alpha.

    GIF is what PNG was supposed to replace.
    PNG files are about the same size as GIF.
    The only reason PNG didn't replace GIF was
    most likely the animations.
    GIF has transparency and animation (multi-image).

    PNG has a proper Alpha channel meaning you can do transparency and lots of other stuff.

  9. GIF is not lossy either. by Anonymous Coward · · Score: 0

    It depends on what you use it for...for GIF-style images, it should be fine (and probably smaller, in fact).

    For stuff where you want TrueColor, where you would use a JPEG now, you would still want to use a JPEG for Web stuff in many cases.

  10. Big files? by Anonymous Coward · · Score: 0

    > Do basically, PNG replaces GIF nicely in pretty much all cases

    Except, importantly, animation.

    MNG? See you in four years.

  11. LIBPNG was easy to use. by Anonymous Coward · · Score: 0

    If your looking for a simple way to add png
    support to your application (meaning you don't code the thing from scratch) you should check out libpng at http://www.cdrom.com/pub/png/

  12. Add Lossy Compression to PNG and It'll Be Great by Anonymous Coward · · Score: 0

    Why not add an option for lossy compression? The kind of sliding scale compression vs. quality tradeoff available in JPEGs is a wonderful feature to have in a graphics format. To me it seems like a "must have" for any format that wants to become widely used on the Internet.

    Of course, I also think that something like Photoshop's Unsharp Mask filter is a "must have" in Image Processing but apparently the folks creating GIMP don't agree with me, so maybe I'm just offbeat.

  13. png is more portable by Anonymous Coward · · Score: 0

    I think the reason is because PNG is usually implemented using Libpng. Meaning that the codebase is the same. Unlike the many implementations of tiff that you can have.

  14. Image formats by Anonymous Coward · · Score: 0

    You mean 200b surely!

  15. anti-aliased = no jagged edges by Anonymous Coward · · Score: 0

    anti-aliased = no jagged edges

    Diagonal lines on a computer monitor generate
    a staircase effect if you look at them closely.
    Anti-aliasing removes this by 'filling' in the
    staircase with lighter colours.

  16. Why no PNG's on slashdot? by Anonymous Coward · · Score: 0

    No need to ask, HTTP content negociation
    is made for this kind of usage.

  17. PNG & Photoshop by Anonymous Coward · · Score: 0

    I suspect something that will hinder the PNG format is a lack of support from Adobe. Photoshop 5.0 doesn't have a PNG save as... or export plug-ins. So from the article I'm to assume that Photshop is "substandard" because it doesn't support it? :)

    -(...unable to get my password mailed to me...)

  18. Great Original Content by Anonymous Coward · · Score: 0

    Two days in a row! Keep the good stuff coming Rob! More stuff like this and "Feature Free Linux"! Forget that Katz stuff.

  19. smaller than GIF by Anonymous Coward · · Score: 0
    For nearly all 8-bit GIF images, PNG is about 10-20% smaller - losslessly.

    For 24-bit images, PNGs are about half the size of equivilent TIFF images.

    So the compression is pretty good, actually.

  20. I wish PNG had been adopted earlier... by Anonymous Coward · · Score: 0

    I still make sure my webpages pass against HTML 2.0, and early graphical browsers: the 1.x and 2.x lines of Netscrape and IE. But, those browsers don't work with PNG automagically (those still using those browsers are the most likely to have no clue as to a plugin), so GIF I use.

    If PNG had been adopted earlier (2.x series, for example), I'd be thinking of switching, but for now, sorry. [And did xv ever support PNG? Don't seem to recall that.]

  21. PNG and JAVA by Anonymous Coward · · Score: 0

    Any chance of native PNG support in the JDK
    like GIF/JPEG ???

  22. 16 bit by Anonymous Coward · · Score: 0

    Is the 16 bit support signed or unsigned ?

    I need 16bit unsigned greyscale.

  23. Get Opera and iCab to support it also by Anonymous Coward · · Score: 0

    Get those other browser's on board also. Heck, email them the code so they don't have to look for it........

  24. Macromedia Fireworks does PNG! by Anonymous Coward · · Score: 0

    In fact, it's the program's native format.

    If you're primarily doing Web graphics and not print work, FireWorks 2 ($199) could replace a lot of what you 'need' Photoshop for.

    - a happy FireWorks user, not associated w/Macromedia

  25. non portable tiff? hrrmm by Anonymous Coward · · Score: 0

    thanx for the reply jason.

    I think aldus was bought out by adobe (pagemaker) so it must be an old ver.

    I saw some good reviews of psp's latest version in a couple of magazines . . . I am kind of fond of it in a way . . . it was the program of choice for a lot of us in the early days of the web as it was freely downloadable. what with photoshop being unaffordable (still) for a lot of ppl it made a lot of pages. I remember seeing it linked to on a lot of 'how to make webpages' webpages.

    obviously quite a few ppl use linux/free software to code up webpages (/. for one!). With the Gimp and stuff I spose this is quite feasible, but for prepress it really needs rock solid cmyk support (and some discussions here have suggested that this may have patent problems) and more. some highend production houses use hexachrome . . . now,who in the free software world knows anything about that? certainly not me.

    tiff is the accepted format for prepress work, and as another noted, edianness is an issue, tho not with 'professional' programs (photoshop, quark,pagemaker, ilustrator et al). eps is the accepted format for vector files (and often bitmaps as well, tho I dont know why . . . I don't think tiff supports duotones and is one instance where I have had to use eps for bitmaps)

    lzw is the usual compression
    'fax group' I think is CCITT stuff and is lossless but only for bitmaps I think?

    contrary to popular belief, you CAN use jpegs for high quality work. In fact, this is probably what it is intended for. I have always thought that it was a lousy format for the web, as pictures always seem to display artifacts. With a hi-res file, the artifacts are almost always 'lost in the screen' ie, invisible when printed (133 - 200 lpi. 85 lpi for newsprint allows you to get away with even more)

    anyway, I think a lot of the industry is moving to pdf for cross platform device independent graphics files

    acrobat reader is a free download for many *nix's

    if I could do prepress on a linux box, I would happily uninstall windoze straight away.

    in the prepress world I am somewhat of a radical anyway. they are all mac zealots

  26. Big files? by Anonymous Coward · · Score: 0


    That's why you don't save JPEGs at maximum quality. The compression levels drop markedly, while image quality barely improves.
    Normally, you save in the 50% - 70% range, depending on the content of the image.
    I know there are many people who don't understand this: I've seen many 200k images that are something like 640 x 480 pixels. A 200k image that is saved at an appropriate compression level should be more like 1600 x 1200, and will have perfectly acceptable quality with minimal or no artifacts).


  27. no... i think you mean 200 bits by Anonymous Coward · · Score: 0

    200 *KiloBytes* for 200 pixels would be today-sized, not 1984...

    if you're talking black & white picture, each pixel would be like a bit (on/off)...

  28. IE5 does PNG and Anti-aliased fonts. by Anonymous Coward · · Score: 0

    IE4 and 5 already do anti-aliased fonts, and it looks pretty good. Actually, I totally take it for granted until I go use Netscape in Linux and wonder why everything looks so jaggedy and blocky.

    PNG is in IE5, I think it's even in IE4, but i haven't used that since the IE5 betas started coming out.

    So riddle me this... why don't web pages use PNG? Probably because Netscape doesn't support it. So we should be on THIER backs, right?

  29. NS4 does PNG and Anti-aliased fonts. by Anonymous Coward · · Score: 0

    I use Netscape on Win95 and it does anti-aliasing. I asked my bro and he said it works on his Mac too. So I think anti-aliasing is lacking in the Unix builds.

    As of PNG it is in IE 4 and 5 and Netscape 4 and 5/Mozilla. I believe NS had it before IE.

    In fact its mention in the post that NS 4.04 has it. But neither IE or NS currently fully support it, although their are rumors IE5 supports all of it.

  30. IE5 does PNG and Anti-aliased fonts. by Anonymous Coward · · Score: 0

    Yeah, I've noticed the same. However, and maybe it's just me, at very high res (beyond 1280x1024) on large screens, anti aliased fonts bug me. It looks blurry. I actually prefer linux in that case...of course, this is no excuse to *not* support anti-aliased fonts.....

  31. what the hell is an "alpha channel"? by Anonymous Coward · · Score: 0

    I really wanna know!

  32. MNG browser support for banner ads? by Anonymous Coward · · Score: 0

    I can see that PNG matches and surpasses GIF in terms of color depth, transparency, and compression, but what about animations with MNG?

    GIF is still going to have a larger share because it is the format of choice for the world of animated banner ads (and that's a huge market).

    Is there much going on in getting MNG supported in the major browsers?

  33. PNG is fast. by Anonymous Coward · · Score: 0

    I programmed a web based cammera demo that used GIF. It took 30sec + to format the picture using the GD library. When I rewrote the display routing to use PNG it less then 1 sec. All this was done on a AMD NET186 card. A 40Mhz 186 with 1/2M flash and 1/2M RAM with a ethernet interface.
    I love PNG.

  34. PNG: no animation - no thanks by Anonymous Coward · · Score: 0

    I'll keep using GIFs, I guess.

  35. what the hell is an "alpha channel"? by Anonymous Coward · · Score: 0

    Alpha == transparency. Just like you have Red, Green, Blue going from zero to full, you can have transparency going from totally transparent (and invisible) to opaque.

    Think of the transparent color in GIF89A, and put it on steriods-- you can make parts of an image opaque, and parts transparent, all of that not dependent on the colors.

  36. ^^^ Good Question ! by Anonymous Coward · · Score: 0

    Help, somebody! Do the browsers support MNG ???

  37. Drawing Kit for PNG??? by Anonymous Coward · · Score: 0
    From the GD homepage (http://www.boutell.com/gd/):
    "gd does not provide for every possible desirable graphics operation. It is not necessary or desirable for gd to become a kitchen-sink graphics package, but version 1.3 incorporates most of the commonly requested features for an 8-bit 2D package. Support for scalable fonts, and truecolor images, JPEG and PNG is planned for version 2.0. Version 1.3 was released to correct longstanding bugs and provide an LZW-free GIF compression routine. "

    So, wait and see or contribute :-) Better contact the author and ask how it goes.

  38. XV supports PNG with patches by Anonymous Coward · · Score: 0

    A couple of simple patches puts PNG support in XV. Check the PNG webpage for the patches and lots more info.

  39. Sun is working on it by Anonymous Coward · · Score: 0
    They're taking support of PNG seriously, last time I checked the bug parade. But apparently supporting the alpha channel is non-trivial. Still, I've heard of 3rd party libraries to convert PNG->java.awt.Image (for use in programs, naturally) but the one on the PNG web site was pulled for some reason.

    I'm hoping for it, tho.

  40. Vector-based Art by Anonymous Coward · · Score: 0

    PNG is a step in the right direction. However, we need to press for some sort of vector-based file format. With PDA and large monitors becoming more common, 640x480 as a standard for web design is no longer the standard. Our webdesigns can scale--it would be nice if our images could do the same.

  41. Get Opera and iCab to support it also by Anonymous Coward · · Score: 0

    iCab uses the Quicktime layer to do it's graphics. Which is fine I suppose, if you don't use linux. Except Quicktimes support for PNG sucks. It displays em, but no alpha transparency or gamma correction. Eh.

  42. PNG: no animation - no thanks by Anonymous Coward · · Score: 0

    This may seem like a silly solution, but how about using JavaScript to take care of animating the image? Depending on the overhead of a standard .PNG file, this may not be worthwhile doing, but it would work.

    Of course, using JavaScript to animate the image means that the similarities between frames can't be left out for greater compression, unless you use CSS-P (or layers) and alpha-channeled / transparent PNGs. The overhead of this scheme could be minimized, though, if you simply created an external .JS animation library and wrote it to be reasonably versatile.

    Unfortunately, using external .JS files cuts out most browsers 3.x, and CSS-P / layers cuts out most browser 4.x. Of course, JavaScript document.Write()s could be used to fetch either the .PNG/CSS-P/layers or the normal .GIF animations, but spending all the bandwidth for the HTML code of both approaches would be pretty silly to save a couple of kilobytes on image files.

  43. GIF's and JPG's on the PNG page... by Anonymous Coward · · Score: 0

    i find it rather pleasantly ironic that on the PNG homepage itself, one that espouses the virtues of the format to no end, all the images are either JPG or GIF. i couldn't find a single PNG image. maybe they're hiding them somewhere i didn't look.

    -pete

  44. GIF _is_ lossy. by Anonymous Coward · · Score: 0

    If you convert a 24bit image to 8bit gif, think of all the data you have lost.

  45. NS4 does PNG and Anti-aliased fonts. by Anonymous Coward · · Score: 0

    Yeah, and its built into MacOS 8.5...

  46. pdflib and tiff 6 spec. by Anonymous Coward · · Score: 0
    Yes Virginia, there is a pdflib. It lives here:
    http://www.ifconnection.de/~t m/software/pdflib/index.html

    Also, the TIFF 6 spec can be found on this site:
    http://www-mipl.jpl.nasa.gov/~ndr/tiff/h tml/

  47. Why no PNG's on slashdot? by Anonymous Coward · · Score: 0

    A damn good question. I can understand why Joe Frontpage user isn't
    using PNG, but why not Mr. Slashdot? PNG has been around for many years
    and is well supported.

    (Of course, that's easy for me to say, since I use a web browser that
    has supported PNGs since the first time that it ran. (AWeb))

    Lead by example. Create the environment.

  48. Gain acceptance by producing some truly sick porn! by Anonymous Coward · · Score: 0

    The only way to get PNG accepted by the mainstream is if we pool our resources and produce some truly sick porn (be it snuff, kidde porn, bestiality - or some beautiful combination of these.) Then we only distribute these pictures in PNG format. This would force all pornhounds to use PNG and this in turn would force browser vendors to include better PNG support.

    So once again I urge each and everyone to support the Open Porn initiative. We need to open a few sites with free porn that the end user can use (or abuse) in what ever manner they feel like. The machine will ofcourse run Linux and Apache. Then we'll show the mainstream that the Open Source Community is just as good a porn provider as the MS centric Commercial Porn industry.

    This is YOUR chance to help out. Can't program? Doesn't matter - just get naked, lie back and abuse yourself in amusing ways while the camera is snapping away. Together we can make this world a better place for Freedom of Speech, Freedom of Software and last but not least - porn!

    Bill S B

  49. Library Version Problems Resolved Yet? by Yarn · · Score: 1

    A lot of png's I've drawn (In Gimp) have had problems with alpha in various programs, both linux, windows and mac.

    When I compiled Gnome I had various problems.

    What is the 'Correct' version of libPng to be using?

    --
    -Yarn - Rio Karma: Excellent
  50. Should have fought for the duck by Gleef · · Score: 1

    That would have been perfect :-)

    --

    ----
    Open mind, insert foot.
  51. PNG & Photoshop by Jordy · · Score: 1

    Under Help, Click "Export Transparent Image" in Photoshop 5.0 or click File, Save a Copy and select PNG.

    Photoshop 4.0 also supports PNGs in transparent and normal varieties, click File, Save a Copy and select PNG.

    --

    --
    The world is neither black nor white nor good nor evil, only many shades of CowboyNeal.
  52. ART by volkris · · Score: 1

    Does anyone know where I can get software to play with the ART format? I read a bunch about it a while ago before AOL bought it completely, and have always had a curiousity about it.

    Even just a compressor/viewer would be interesting to me.


    Anyone know?


    ~Chris Carlin

  53. IE5 does PNG and Anti-aliased fonts. by Craig · · Score: 1
    > why don't web pages use PNG?

    Well, I can tell you why mine doesn't. Looking at my logs, about a third of my hits are from v3 browsers, which don't support it. I like the idea of PNG, I'm sure it's technically superior (I'm not a graphics guru, but I'll take everybody's word for it), and eventually I'll start using it. But since graphics are a very minor part of my site -- mostly decorations to prevent the text from becoming boring -- I see no need to risk about a third of my (small) audience for the sake of technical advantages that are in my particular case irrelevant.

    Still, though, I support the idea of PNG and wish every success to Greg and his book and his format. The sooner my .gifs are obsolete the better.

    Craig

  54. Windows does anti-aliased fonts. by jkovach · · Score: 1

    Probably the reason all the Windows browsers are doing anti aliased fonts is because Windows itself does anti-aliased fonts. It's a registry setting that can be toggled manually, using the Plus Pack, or with shareware such as WinHacker.

  55. Just Another Agreeing Post by Phil+Gregory · · Score: 1

    It's definitely a nice format. (And I know a lot more about it now that I did when i work up this morning.) I plan to move my web pages to PNG as soon as the GIMP supports PNG's alpha stuff.


    --Phil (And I try to make good use of the alt= parameter, too. No one should be left out.)

    --
    355/113 -- Not the famous irrational number PI, but an incredible simulation!
  56. non portable tiff? by Phil+Gregory · · Score: 1

    Well, as I understand it the TIFF spec is very nice. The only problem is that it's too big, and not everyone implements the same parts of it. If you're using compatible implementations, everything's fine, but incompatible implementations can render the image unusable. JPEGs aren't good formats for image editing because some information gets lost every time a jpeg is saved. Multiple edit-save iterations can leave a jpeg looking very bad.

    I don't do a great deal of image editing, but for what I do, I use XCF as my "master" image, TIFF for transporting images, and JPEG or GIF for the final image to be displayed. As soon as the GIMP gets good support for aplha channels in PNGs, I'm probably going to start using PNG in place of TIFFs and GIFs.



    --Phil (Hmm.. I could have gotten more TLAs and ETLAs in my post--I'll have to try harder next time.)
    --
    355/113 -- Not the famous irrational number PI, but an incredible simulation!
  57. anti-aliased definition? by bhmit1 · · Score: 1

    I keep hearing all this anti-aliased stuff (gnome, png, etc). But I'm not a big graphics person. Does anyone have a good def?

    Thanks,
    Brandon

  58. anti-aliased definition? by bhmit1 · · Score: 1

    Thanks guys. Seems I knew the definition, just never the term :-) It makes a lot of sense with alpha channels, especially when I've seen the problems with transparent gifs on a colorful background.

  59. PNG and JAVA: Vote for it! by tjansen · · Score: 1

    You can vote for PNG support in Java on Sun's "Bug parade", as it does not only allow you to vote for the removal of bugs, but also for new features.
    PNG support is currently the second most requested feature (first is Linux support).
    If you want to vote for PNG, you have to join the Java Developer Connection (free), the URL of the bug parade is:
    http://developer.java. sun.com/developer/bugParade/index.html. The PNG feature has the Bug id 4101708.

  60. PNG & Photoshop by an0n · · Score: 1

    Photoshop does support PNG, at least as of version 4, I don't remember if version 3 supported it or not, but I think it did.

    Nathan

  61. Define lossy. GIF is not lossy. by ploeg · · Score: 1

    In common technical usage "lossy" means that the image compression routine automatically throws out image quality (versus losing image quality by not supporting as many colors, or gamma, or whatever). This is a distinction worth preserving.

    Sure if you convert a 24-bit image to 8-bits, you lose all those colors. However, if you had only 8-bits to begin with (such as with line art), you are not losing quality by saving to GIF. With GIF, whether or not you lose image quality depends on the image. With "lossy" formats like JPEG, you're losing image quality every time you save the file.
    -----

  62. How I plan to use PNG by ragnar · · Score: 1

    For my web site development I plan to use PNG in the future, along with Java Servlets. Three main ideas bounce around in my head:

    1. store all graphics as postscript and run a converter (via Servlets) which preprocesses the page and delivers a [.gif|.jpg] or .png based on browser support.

    2. store graphics as .gif or .jpg and use the servlet to convert to convert to .png if the browser supports it.

    3. store separate, but equivalent copies of image.gif and image.png and use a servlet to choose the right graphic based on browser support.

    I like solution number 1 the best, and I'm anticipating using PNG in the future. I believe that maintaining copyright might be important sometime, and PNG makes that easier for the content deliverer.

    --
    -- Solaris Central - http://w
  63. How I plan to use PNG by moore · · Score: 1

    Instead of ps you might consider storing you
    images in xcf (gimp native format) or png becous I
    don't think ps will suprot all the alpha features
    and that png or xcf will. you could then use gimp
    in batch mode (ie no X) to convert the imiges on
    the fly to almost any format including difrent
    color depths and compreshion ratios depending
    on what the broweser could execpt. for efficiency
    you should cash any on the fly convertions you
    do no mater what aproch you take.

  64. PNG and JAVA: Get it here: by Mithrandir · · Score: 1
    If you want it, I've got a whole swag of library code to handle it. It works as content handlers in Java so pointing a URL at it, you will get a BufferedImage back (or Image if you need 1.1 spt). The only difference here is that you can't use it with Toolkit.getImage() | createImage()

    http://www.vlc.com.au/~justin/java/image s/
    ftp://ftp.vlc.com.au/pub/imageloader_0 .9.zip

    Basically, the list of supported formats are:

    • TIFF
    • JPEG
    • BMP
    • XPM/XBM
    • PNG (1.0, not 1.1 yet)
    • GIF (but wrapper around standard java impl)
    • TGA
    All the code is LGPL'd except where the back end libraries have different licenses as provided by their authors.

    The code has been tested under Solaris, HP-UX and Win32 (precompile bins for Win32 only).

    --
    Life is complete only for brief intervals in between toys or projects -- John Dalton
  65. PNG and JAVA: Java Advanced Imaging API by Mithrandir · · Score: 1
    Advanced Imaging API from Sun/Javasoft. JAIA EA1 and EA2 had read-only support, but write support is coming in the next release, I believe

    We tried using JAI, and frankly it sucks. It still uses Sun's image loading classes that consume 4 times the amount of memory that the image should take. It is very slow and major repaint problems. That's why we wrote our own. Now, in my code there somewhere, I think I put the encoders too. It supports JPEG and PNG and we had TIFF/BMP underway. I'll check. If it doesn't include the writers, ping me and I'll send you the code.

    --
    Life is complete only for brief intervals in between toys or projects -- John Dalton
  66. anti-aliased definition? by LetterJ · · Score: 1

    Anti-aliasing comes into play when you have a curve of any sort or a sharp edge. Try drawing a circle on graph paper and you'll see that you get a jagged edge around the curves. Anti-aliasing fills in the surrounding areas with blending colors to smooth out the jaggies. For transparency that can cause a problem when only one color is allowed as transparent like in GIF. Since the fill-in colors are a blend between the background and the object, there are many shades in between, but only one can be transparent. You end up with a halo of the blending colors around the object.

  67. New here, have a question by LetterJ · · Score: 1

    Paint Shop Pro at http://www.jasc.com. Doesn't implement it entirely, but it is there.

  68. New here, have a question by LetterJ · · Score: 1

    There's also a native Win32 port of GIMP at:
    http://www.gimp.org/~tml/gimp/win32/

  69. non portable tiff? by spitzak · · Score: 1

    At work we have perhaps 5 different tiff-reading programs for converting to other file formats. This is because none of them are able to read all the tiff variants we have encountered. You have to try each of them until you find a program that works.

    Tiff is seriously broken by being too fancy. The fact that PNG supports exactly one compression format is a big win and I expect PNG will completely replace Tiff very soon (replacing GIF is less likely...)

  70. Add Lossy Compression to PNG and It'll Be Great by spitzak · · Score: 1

    NO! That's a different format!

    The whole point of PNG is that it is relatively simple and small and the job it does can be easily described ("lossless image storage").

    If you are tired of jpeg feel free to write your own lossy compression scheme, but make it a different file format, please!

  71. New here, have a question by Cave+Newt · · Score: 1

    That's what the PNG home site is for! You can find PNG-supporting image editors at http://www.cdrom.com/pub/png/pngaped.html and image viewers at http://www.cdrom.com/pub/png/pngapvw.html (the supported OSes are indicated for each entry--look for "Windows 9x/NT" in your case). There are also other pages for converters, 3D apps, browsers, etc.

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  72. GIF's and JPG's on the PNG page... by Cave+Newt · · Score: 1

    Get a better browser, and you'll see PNGs. I don't have server control (cdrom.com), but I do use the client-side OBJECT method. When your browser supports that correctly, the PNG home site will "magically" convert into a mostly PNG/JPEG site.

    That said, I haven't bothered to convert tiny web graphics like the web balls; I may use POV-Ray to do so with true anti-aliasing. Too bad its alpha-output support isn't very good.

    Oh, and check the home page again for the big blue "PNG Images" section.

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  73. Drawing Kit for PNG??? by Cave+Newt · · Score: 1

    FWIW, the GD home page has said that since 1995. I had an entry for it on one of the PNG pages ("coming") for three years before axing it a few months ago. I think Thomas is off doing other things and hasn't bothered to update his personal web pages for quite some time.

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  74. ^^^ Good Question ! by Cave+Newt · · Score: 1

    > Help, somebody! Do the browsers support MNG ???

    No, not yet. Partly that's because the MNG spec hasn't completely settled down, partly it's because the spec is fairly complex, and partly it's because there's no libmng yet. But the spec is very close to being frozen; the recent changes have had to do with defining a "lite" version (two, in fact--"low complexity" and "very low complexity"), which addresses the second issue. And as for the third, Gerard Juyn has offered his MNGeye code as the basis for a libmng, so it's just a matter of some folks finding time to work on that. Volunteers are more than welcome, of course! :-)

    Btw, once the Mozilla/SeaMonkey imagelib code settles down, it should be much easier to add new formats (like MNG) to Mozilla and thereby to Netscape. Expect to see MNG support at least in unofficial releases within a year or so. (Right now it's a *bitch* just getting the damn thing to compile and run correctly, at least under Linux. But it's rapidly getting better.)

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  75. 16 bit by Cave+Newt · · Score: 1

    > I need 16bit unsigned greyscale.

    You're in luck. All of PNG's samples are unsigned integers, and grayscale covers the widest depth range: 1, 2, 4, 8 and 16 bits. (RGB and RGBA are both either 8-bit or 16-bit samples, i.e., 24/32-bit or 48/64-bit.)

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  76. NS4 does PNG and Anti-aliased fonts. by Cave+Newt · · Score: 1

    > I believe NS had it before IE.

    Actually, no. IE 4.0b1 had PNG support in the spring of 1997, and 4.0 final was released in October 1997. Navigator got PNG support in version 4.04 in November 1997, with no warning whatsoever.

    Little-known fact: at least two or three Netscape folks were on the PNG mailing list within two or three weeks of the beginning of the project (January 1995), but obviously nothing much came of that.

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  77. PNG and JAVA: Java Advanced Imaging API by Cave+Newt · · Score: 1

    Folks, please check the toolkits page for a number of PNG-supporting Java options, including the Advanced Imaging API from Sun/Javasoft. JAIA EA1 and EA2 had read-only support, but write support is coming in the next release, I believe.

    And I'll be sure to add a link to the godlike Justin's toolkit, too; I wasn't aware of that until now. (Bad Justin. I guess it was all that VRML hacking. :-) )

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  78. Good examples of PNG alpha transparent images? by Cave+Newt · · Score: 1

    See either http://www.cdrom.com/pub/png/pngs.html or http://www.cdrom.com/pub/png/pngs-img.ht ml for some transparent PNG images (especially the bottom one), using either OBJECT or IMG, respectively. There will be at least three more as soon as I have time to add them to the web pages. Two are already available in the img_png subdirectory: IceAlpha-sml.png and RedbrushAlpha-sml.png, both by Pieter van der Meulen. (The third one is an excellent shot of an owl, and I may add a magnolia tree, too. All are 8-bit RGBA-palette images, btw.)

    Oh, and http://www.cdrom.com/pub/png/pngpic2.html has more PNG images, though not with transparency.

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  79. Library Version Problems Resolved Yet? by Cave+Newt · · Score: 1

    libpng 1.0.3 apparently resolves whatever problems the Imlib folks were seeing. It does have one typo (misplaced parenthesis on line 181 of pngrutil.c; should be just before the || operator, not the "> 8"), but I haven't heard of any obvious visual bugs that can be traced to it. Certainly I haven't seen any yet.

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  80. PNG & Photoshop by Cave+Newt · · Score: 1

    Version 3 only supported PNG via third-party plug-ins. Adobe added native support to 4.0. It's not very good support (and in some ways it got worse in 5.0), but they're aware of it and are finally working on fixing it for 6.0.

    I devoted 40% of chapter 5 to Photoshop 4 and 5. :-)

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  81. Big files? by Cave+Newt · · Score: 1

    There is no separate alpha channel in 8-bit (palette-based) images. Instead, the palette effectively has RGBA entries rather than the usual RGB entries, thanks to the one-to-one correspondence between the PLTE chunk and the tRNS chunk. (This is basically how GIF does transparency, too, except that its "tRNS chunk" only holds one entry and can only be fully transparent.)

    Anyway, the upshot is that the compression engine sees only WIDTH x HEIGHT bytes (or fewer, if pixels are packed 2 or more per byte) regardless of how many palette entries are partially or fully transparent. And since PNG's compression engine is better than GIF's (by roughly the same factor as gzip over compress), it can be smaller than the "corresponding" GIF. Of course, that GIF would only be an approximation to the RGBA-palette PNG image.

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  82. GIMP Support of PNG and Alpha Channel by Cave+Newt · · Score: 1

    GIMP does support the PNG and the alpha channel...but it is sort of very difficult to use. I only succeeded doing it once some time back and I cannot for life of me remember how to do it so I can achieve the transparent feature under GIMP.

    From the GIMP section of Chapter 4 (I mistakenly said Chapter 5 in another reply): open an RGB image, right click on it and select Layers -> Add alpha channel, and edit away. For example, select the Lasso tool, go to Dialogs -> Tool Options... -> Feather checkbox and set some feather radius (for the width of the variable-transparency part), then draw a loop around something, invert the selection (right button -> Select -> Invert) and erase (Edit -> Clear). Or you can do gradients or whatever tickles your pickle.

    What you cannot do is any sort of transparency with palette images, as I recall. That may have changed in 1.1, but I haven't heard about it. The last time I checked, the PNG plug-in did not appear to have any transparency support at all, and the GIMP image model does not lend itself well to PNG's RGBA-palette mode.

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  83. Get Opera and iCab to support it also by Cave+Newt · · Score: 1

    Opera supports PNG natively since version 3.51 (just before Christmas). It has some problems with transparency, though; see the browsers page for details.

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  84. Vector-based Art by Cave+Newt · · Score: 1

    Check the W3C's current working draft for SVG (Scalable Vector Graphics).

    --
    -- GRR: Newtware, PNG Group, AlphaWorld Map, Info-ZIP, Google cluster infrastructure, ...
  85. Why no PNG's on slashdot? by Grok · · Score: 1

    Good point. If everyone makes a conscious decision to switch their websites from GIF/JPEG to PNG/JPEG, the world will be a better place. :)
    I plan to do mine tonight.

  86. Great Original Content by dvdeug · · Score: 1

    Arggh! Get an account, and turn Katz off. Stop complaining and do something.

  87. Nyquist rate, subsampling, and the jaggies. by Mr+Z · · Score: 1

    And now for the real general definition of anti-aliasing, for all you real nerds out there.

    Aliasing occurs whenever you sample any signal (whether it be an image for display onscreen, or audio, or whatever) at too low a rate, so that some of the information sampled is above the so-called Nyquist rate.

    The Nyquist rate is 1/2 the sampling rate, and it represents the maximum bandwidth you can correctly sample without aliases.

    In pictures, aliases usually show up as jaggies, but there are other artifacts, such as beat patterns (ever scan a dithered photo?) and so on that are also due to aliasing.

    In audio, such as in over-compressed long-distance phone service, aliases usually sound like high-pitched tones which respond in the reverse direction of the pitch of whomever is speaking.

    Anti-aliasing is simply the process of avoiding or removing aliasing artifacts in a particular signal. In the case of 2-D graphics, this is usually performed with some sort of smoothing operation. In 3-D graphics, people go to town with bilinear/trilinear pixel interpolation on textures and mip-mapping to handle changes in the sample rate due to the perspective transform, etc.... In audio, it's usually known as a "low pass filter."

    And that, my friends, is what anti-aliasing is.

    (Yes, I'm an engineer for a DSP company.)



    --
  88. NS4 does PNG and Anti-aliased fonts. by careye · · Score: 1

    Anti-aliased fonts are done by the windowing system. X Windows doesn't do them; Win95 does, with this patch from M$.

    --
    -- AIIEE! Universe corrupt - halted.
  89. non portable tiff? by arwild01 · · Score: 1

    Don't forget about endianess!

    Any good graphics program will happily accept either byte ordering, but I have encountered some that don't like one or the other.

    -Alan

  90. Ironicly... by kolla · · Score: 1


    I remember when I first made my all png homepage, like 4 years ago or so.
    The browser I used was old AMosaic for Amiga which supported png through the nice datatype-system of AmigaOS.
    If my memory doesnt play me a trick, png also worked with Arena.

    Anyways, Amiga showing the way, as usual, not that anyone cares... :)

  91. Photoshop Export of PNGs by Evan+Vetere · · Score: 1

    I personally plan to convert all the images on http://sine.com/ to PNG as soon as Photoshop can properly export them.

    That site already won't display properly in most browsers - though it will in Gecko.

  92. Re: Off topic. by Evan+Vetere · · Score: 1

    I hardly think that a lack of knowledge of the fifties and sixties - one of comics, in particular, a field I've never been interested in - qualifies me as a "cultural illiterate".

    Lost In Space had been dead ten-plus years when I popped out of my mother's womb; I wasn't around back then. And yet I've got a more comprehensive knowledge of American cultural history than most people I work with - people who were alive when LIS was hot stuff.

    Sidenote: Hey Rob! Can we get an autoignore function for lamers who're too cowardly to leave an email address? Thanks.

  93. How to use the best of both worlds by JavaTHut · · Score: 1

    I was originally planning on writing a simple, open source, servlet to dynamically change file extensions in the html tags dependent on browser compatibility; Should be a relatively simple task given the replace method for strings. Then a friend said you could have Apache do it internally so I gave up. Anyone still intrested in writing or using a servlet lemme know.

    -Ravi
    JavaTHut@mail.com

  94. Add Lossy Compression to PNG and It'll Be Great by Richard+JC · · Score: 1

    f course, I also think that something like Photoshop's Unsharp Mask filter is a "must have" in Image Processing but apparently the folks creating GIMP don't agree with me, so maybe I'm just offbeat.

    I'm sure I saw something like that on my copy of Gimp (1.1). A quick check reveals that its under Script-Fu -> Alchemy -> Unsharp Mask.

    Having upgraded to Gimp 1.1 I think the move was worth it. Its getting even nicer.

  95. Big files? by Artemisia · · Score: 1
    And, can PNG with an alpha layer be smaller than a normal GIF? It is 33% bigger...

    Only the lookup table for the palette need be 33% larger. The data for the pixels is still 8 bit (or whatever you choose). For an 8 bit image disregarding compression, this would come out to 256 bytes regardless of the image size. And they probably compress the heck out of the alph channel, since in most cases it is probably one.

    --

    --Artemisia

  96. anti-aliasing by Christopher+Thomas · · Score: 1
    I keep hearing all this anti-aliased stuff (gnome, png, etc). But I'm not a big graphics person. Does anyone have a good def?


    I'm not sure exactly what they're referring to in this context, but I can tell you what anti-aliasing is in general.


    "Aliasing" refers to artifacts in images that result from the fact that images are made up of pixels. Moire patterns, "staircase" pixel patterns on edges, and the wierd speckles, checkerboards, and what-have-you that can show up when you resample an image count as aliasing.


    "Anti-aliasing" refers to a set of techniques designed to remove aliasing artifacts from images that are being resampled or otherwise displayed in a form other than their original and/or ideal forms. This usually involves smoothing/filtering and blending against whatever background the image is being displayed against.


    What I think it refers to in this context is just using true alpha-blending to smooth jagged edges of things like fonts and icons against a background. You can't do this with transparent .GIFs, so they wind up either looking jagged or else having an ugly coloured fringe if you change the background colour.

  97. PNG & Photoshop by domc · · Score: 1

    For great support of PNG, check out Adobe ImageReady. It is a program designed to process images for the web.


    domc

  98. GIMP Support of PNG and Alpha Channel by Elik · · Score: 1

    GIMP does support the PNG and the alpha channel...but it is sort of very difficult to use. I only succeeded doing it once some time back and I cannot for life of me remember how to do it so I can achieve the transparent feature under GIMP.

    I have lot of great graphics but they are at their best if they are done under PNG rather than GIF or JPEG due to overlapping of graphics on the webpage. But one thing really sucks...the GIMP mailing list is sort of dead and I have not gotten a reply on how to do the transparency effect with GIMP for past day and half. Kind of interesting compared to high volume mailing list that I got used to. :)

    --
    -- Amazing how the Internet still humms along.... -- Dispite all the flaws of Micro$oft in their software!
  99. anti-aliased definition? by N1KO · · Score: 1

    Anti-aliasing is also used in some graphics programs to change the size of bitmapped images.

  100. Big files? by BiGGO · · Score: 1

    I'm not familiar with PNG,
    so this may be a stupid question,

    but if the compression is not lossy,
    this may result in big files (does it?)

    I rather have lousy quality then an hour wait to load...


    ---

    --


    ---
    I'm going to live forever, or die in the attempt.
  101. Big files? by BiGGO · · Score: 1

    Hmmm....
    Regarding save/edit,
    I won't use png anyway, just xcf (psd for the Proprietary Software Documents)

    And,
    can PNG with an alpha layer be smaller than a normal GIF?
    It is 33% bigger...


    ---

    --


    ---
    I'm going to live forever, or die in the attempt.
  102. Drawing Kit for PNG??? by bob_shoggoth · · Score: 1

    I need to write programs that draw a graphics file on the fly. However, I have not been able to find a drawing kit for PNG. Right now, I use the GD library, but I don't want GIF's!

    Is there something similar to GD for GIF's? It doesn't need to have a lot of drawing functions, just the basics, like circle(), line(), 8-bit color, etc. A port of GD would be great.

    Bob

  103. Good examples of PNG alpha transparent images? by layne · · Score: 1


    With IE 5.0 released today, I'd download it to see the results. Anyone know of some examples?

  104. anti-aliasing when resizing. by Ilmari · · Score: 1

    Or more correctly, interpolation. Modern programs, such as Photoshop 5.0, user bi-linear og bi-cubic interpolation for better quality.
    ---
    Ilmari
    Remove the capital letters from the e-mail-address

    --

    © ilmari. All rights reserved, all wrongs reversed

  105. non portable tiff? by Otto · · Score: 1

    >would like to know others experience, but I thought tiff had a pretty well defined spec

    That's the whole problem. It's so huge, nobody implements it all. The sad fact is that damn few people use TIFF that are not in the desktop publishing field. I have to get a lot of design printed by professional printers and so on, and they always request TIFF. I have no idea why, I never use the bloody thing, BECAUSE it never works from one program to the next. At least for me. I've heard that those pro programs printers use support every type of TIFF you can imagine, but support little if anything else, and that's why they ask for it. I dunno. TIFF sucks, IMO.

    --
    - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
  106. A kilobyte per pixel? by MikeTurk · · Score: 1
    Perhaps he means 200x200? That's 40,000 pixels, and 200000/40000 = 5 bytes per pixel. That's more reasonable.

    Mike
    --

    --

    Mike
    --
    "Wi nøt trei a høliday in Sweden this yër?"

  107. no... i think you mean 200 bits by William+Wallace · · Score: 1

    No I think he means 200K. He obviously
    knows the difference between 200 BYTES and
    200 KILOBYTES, since he just responded to
    someone else about it.

    In other words, the old formats for high
    color images were not, shall we say, EFFICIENT.

  108. Is it worth it? by William+Wallace · · Score: 1

    How many people still visit your site in the
    old browsers (2.x, 3.x)?

    Our site has over 19,000 active members, and
    the vast majority are on the 4.x browsers. And
    these aren't computer geeks for the most part.

    hmm

  109. Off topic. by AJWM · · Score: 1

    I glanced over at your web site and, among other things, noticed the review of Lost In Space.

    Is nobody out there aware that the original TV series was based on a comic book? The orignal comic books were titled Space Family Robinson. I don't think the comics had the robot or Dr. Smith (it's been a long time), but there was the alien pet critter that showed up in the movie but not the TV show.

    But in none of the reviews of the movie have I seen any reference to real origin. Cultural illiteracy, I guess.

    --
    -- Alastair
    1. Re: Off topic. by AJWM · · Score: 1

      You may have more knowledge of American cultural history than whatever cretins you work with, but you're certainly humor-deficient. And far too sensitive -- nothing in my original comment was intended as a personal attack. Perhaps hypersensitivity goes with pretentiousness.

      Oh, and as for email addresses, I get plenty of spam as it is, thanks very much. Are you too cowardly to say in public something you wanted to email in private?

      --
      -- Alastair
  110. Image formats by Beef · · Score: 1
    I miss the image format that Paint in Tandy Personal Deskmate used. 200 pixels, 200K file. Ah, the good ol' days.

    Sigh.

    --

    --
    Beef
    "Raging Moderate" of the

  111. Image formats by Beef · · Score: 1

    No, I mean 200K. We're talking 1984 technology here.

    --

    --
    Beef
    "Raging Moderate" of the

  112. Add Lossy Compression to PNG and It'll Be Great by Mr+T · · Score: 1

    Check out JNG. The MNG page mentioned up above points to the draft for it.

    --
    This is my signature. There are many signatures like it but this one is mine..
  113. Why no PNG's on slashdot? by AT · · Score: 1

    How about an option in the user preference for PNG images? Or better yet, make PNG the default, and provide an option to disable.

  114. Big files? by Cowards+Anonymous · · Score: 1

    And I want frame-animated bitmaps because...?

    Sorry. If I want something that moves, I'm perfectly happy to use less annoying tools than animated GIF. MNG looks promising-ish, but I still don't see a lot of uses for it apart from Yet More Badly Made Banner Ads.

  115. Non web based usage by scrutty · · Score: 1

    Well GNOME seems to make pretty heavy use of .png for a lot of its icons and so forth

    --
    -- Oh Well
  116. PNG and JAVA by SuperKendall · · Score: 1

    Possibly, in the bug parade at The Java Developers Connection support for PNG in Java has the second highest number of votes (only support for JDK 1.2 on Linux has more).

    I know I have my vote in, I'd love to see PNG as a standard format for graphics in Java!

    Some of the links given for other Java packages that provide support for PNG are:

    http://www.cdrom.com/pub/png/src/j ava-png-0.88.zip

    http://www.visualtek.com/PNG/

    http://www.sixlegs.com/png.html



    as well as Activated Intelligence which makes JIMI and can write PNG images - not free though!

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  117. A kilobyte per pixel? by Merk · · Score: 1
    Not
    Bloody
    Likely

    maybe a byte per pixel, maybe more, but 1024 bytes per pixel? A 200 pixel image (that's less than 15 pixels by 15 pixels) would nearly fill up a typical 80's floppy disk!!

  118. Kudos on PNG by JEP · · Score: 1

    Personally, I think PNG is nifty. It's a hell of a lot better than GIF (24bit images, anyone?), and it's non-lossy. I started scanning a large library of family photos in, and I wanted something non-lossy. It also avoids problems with things like TIFF, which seem to have so many variations that a tiff created in one program usually doesn't work in another.

    --

    --

    --
    Jason Eric Pierce

  119. non portable tiff? by JEP · · Score: 1

    Hmm, not that I've experienced. I've always had problems with tiff. I think this is due to poor or incomplete implementations in a lot of programs. I can see how if you're using something pricey like photoshop, it might not have a problem with them.

    Looking through the Paint Shop Pro helpfile, I see there are quite a few kinds of compression:

    TIFF Huffman compressed Aldus Corporation
    TIFF No compression Aldus Corporation
    TIFF Pack bits compressed Aldus Corporation
    TIFF LZW compressed Aldus Corporation
    TIFF Fax Group 3 compressed Aldus Corporation
    TIFF Fax Group 4 compressed Aldus Corporation

    Paint Shop Pro, for one, doesn't handle TIFFs well. TIFFs I've saved with Photoshop always crash PSP.

    Maybe TIFF is a solid, portable format, but implementations don't seem to take advantage of that. Maybe TIFF is more closed or less well documented than PNG. For the record, I've never had a portability problem with PNG.

    --

    --

    --
    Jason Eric Pierce

  120. Big files? by JEP · · Score: 1

    If you take a 24bit color image with a high resolution and save one as PNG with compression and another as lower quality JPG, the JPG will (in most cases) be much smaller.

    But it IS lossy. So you can't iterate through the process of editing/saving without screwing it up. JPG is only really appropriate as the final product to show users with low bandwidth connections.

    However, this is only in regards to images like photos. If you make an 8bit image using PNG, it will probably beat JPG. This is especially true for things like line art and graphics. You don't want to use JPG for stuff like that. The loss in quality will be very noticeable. PNG is good replacement for GIF in that respect (especially considering the patent issues).

    Do basically, PNG replaces GIF nicely in pretty much all cases and JPG in many cases (or all cases if you have the storage space/bandwidth).

    --

    --

    --
    Jason Eric Pierce

  121. Big files? by JEP · · Score: 1

    What part of "pretty much" was unclear?

    Anyway, as far as I'm concerned, GIF animation can be flushed down the crapper. 99.99% of the uses simply annoy and irritate.

    --

    --

    --
    Jason Eric Pierce

  122. IE5 does PNG and Anti-aliased fonts. by JEP · · Score: 1

    Not to stick up for 'doze, but I believe anti-aliased fonts can be turned on/off with Display CP->Plus!(!!!). There is an option for "Smooth edges of screen fonts." Might try fiddling with that.

    --

    --

    --
    Jason Eric Pierce

  123. Off topic. by JEP · · Score: 1

    Wasn't there an alien pet critter in the TV show? I believe it was basically a monkey with alumninum foil over its ears. I remember them mentioning it on the LOS DVD commentary.

    --

    --

    --
    Jason Eric Pierce

  124. non portable tiff? hrrmm by JEP · · Score: 1

    That's from PSP 4. We have 5, but they screwed up the UI a bit. A couple of quirks that pop into mind: the save format drop down box lists files alphabatized by some textual description like "Compuserve Graphics Interchange Format (*.gif)" and "Window or OS/2 Bitmap (*.bmp)" instead of the old listings like "GIF - Compuserve...etc." and "BMP - Windows...etc.". The other thing I can think of is how it doesn't default your format to SaveAs to the last format use for saving. Changes like these serve no purpose other than to make it more difficult to use. I'll stick with v4 until it won't work for something I need to do (don't actually need to use tiffs).

    I think pdf would probably take off if there was something like a libpdf. As it is now, Adobe is keeping a pretty tight grip on the specs and forcing you to use their programs.

    --

    --

    --
    Jason Eric Pierce

  125. Non web based usage by Darlington · · Score: 1
    Another good use for PNG that is not strictly web-based is kiosks. When you have control over the client software, and can pick a PNG-supporting browser, you can PNG to your heart's content.

    It's a great format.

  126. Big files? by dreamking · · Score: 1

    They aren't very large from what i can see, saving the same 24 bit image as both a jpg at maximum quality(which still results in a noticable loss), and as a png(no loss that i could see) resulted in a huuuge filesize difference, with the png approximately a _quarter_ of the size of the jpg. Now that's good compression :)

    --

    - Never imagine yourself not to be otherwise than what you had been would have appeared to them to be otherwise.
  127. GIMP Support of PNG and Alpha Channel by Kenichiro · · Score: 1

    What you cannot do is any sort of transparency with palette images

    Well, you can now. I have fixed it. Just see the registry.gimp.org!

    --
    ---- Yamahata Kenichiro yamawo@mymail.to