Re: [OT] Re: getting pixel info from an image file

From: John Harrison (john_andronicus_at_hotmail.com)
Date: 05/08/04

  • Next message: John Harrison: "Re: accessing/overloading parent overloaded operators"
    Date: 8 May 2004 07:26:37 GMT
    
    

    "cppaddict" <hello@hello.com> wrote in message
    news:j02p90p8jhlri6cv7a4f3hmnh0cshi5sj5@4ax.com...
    >
    > >
    > >It's not in the C++ standard library which has no graphics capabilities
    at
    > >all.
    > >
    > >I'm not aware of any free libraries that support this. The notorious
    patent
    > >that was claimed by Unisys over the GIF file format prevented the
    > >development of these. Even if you were to write your own code to do this
    you
    > >would be breaking the law unless you paid a royalty to Unisys. However
    that
    > >patent has now expired in the US although it remains in force in other
    parts
    > >of the world.
    > >
    > >Suggest you use PNG instead if possible.
    > >
    > >john
    > >
    >
    > John,
    >
    > Thanks. Two things:
    >
    > 1. Using PNG is fine. In fact, I can use any file format I want.
    > But where can I find a library/tutorial on how to do what I'm
    > describing?
    >
    > 2. You marked this post as OT. Where would be a better place to ask
    > this question?
    >
    > Thanks again,
    > cpp
    >

    Everything about PNG can be found here

    http://www.libpng.org/pub/png/libpng.html

    didn't see any tutorials but there are certainly manuals.

    There's a mailing list on the site above, that would be a good place for
    questions about PNG, alternatively you could try a newsgroup with graphics
    in its name, comp.graphics.algorithms perhaps (don't take that as a
    recommendation, I've never used that group).

    john


  • Next message: John Harrison: "Re: accessing/overloading parent overloaded operators"

    Relevant Pages

    • Re: [PHP] Going from simple to super CAPTCHA
      ... I would have to get the file format ... of the bitmap you're using, ... And I don't really care if it's PNG, GIF or JPEG, really, since GD ... I was cracking the CAPTCHA with a 97% success ratio -- ...
      (php.general)
    • Re: GIF89A and PIL
      ... patent has expired now, IIRC.) ... PNG was supposed to replace GIF. ... compressor (i.e., gzip). ...
      (comp.lang.python)
    • Re: [PATCH] How about making Tux official - its about time...
      ... PNG is a nice open format, ... > The LZW patent from Unisys has timed out some monthes ago. ... > point that's left against GIF is that it's terribly ugly. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: How to reduce the size of Images(JPEGs)
      ... But you should not even be using .jpeg files at all because it is a lossy file format and each time the file is edited and saves the quality gets worse and worse. ... As a best practice you should be using the Portable Network Graphic "loss-less" image file format (.png) which has been created specifically for the web several years ago and is now supported everywhere by most software, ... "Sridhar Panatula" wrote in message ... When I upload pictures to Googlepicture size is autmatically reduced. ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Graphing/plotting with embedded webserver?
      ... > Bob wrote: ... The patent has expired. ... > PNG was very easy. ... I didn't know there was an uncompressed PNG format. ...
      (comp.arch.embedded)