Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #96662

Re: PNG coding

From Melzzzzz <mel@zzzzz.com>
Newsgroups comp.lang.c
Subject Re: PNG coding
Date 2016-11-15 23:49 +0100
Organization albasani.net
Message-ID <20161115234903.5851f221@maxa-pc> (permalink)
References <o0foak$4cu$1@reader2.panix.com> <efb414a2-37fd-f415-1353-d92dad04592b@verizon.net> <o0fvki$c8n$1@dont-email.me> <58044c2b-c4d4-cfd7-7142-2b5ca73a6c28@verizon.net> <o0g2tk$ou4$1@dont-email.me>

Show all headers | View raw


On Tue, 15 Nov 2016 22:41:23 +0000
Richard Heathfield <rjh@cpax.org.uk> wrote:


> 
> I can't speak for Ruben's needs. But if anyone is planning to write a 
> simple PNG library, I would recommend the following interface:
> 
> /* returns width*height unsigned longs, encoding RGBA 00-FF */
> unsigned long *png_load(const char *filename,
>                          size_t *width,
>                          size_t *height);
> 
> int png_save(const char filename,
>               unsigned long *frame,
>               size_t width,
>               size_t height);
> 
> And *nothing else*!
> 
Well, one can write wrapper around libpng, possibly C++ ;)


-- 
press any key to continue or any other to quit

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PNG coding ruben safir <ruben@mrbrklyn.com> - 2016-11-15 14:40 -0500
  Re: PNG coding "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-11-15 12:02 -0800
    Re: PNG coding ruben safir <ruben@mrbrklyn.com> - 2016-11-15 15:20 -0500
      Re: PNG coding "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-11-15 12:25 -0800
  Re: PNG coding "James R. Kuyper" <jameskuyper@verizon.net> - 2016-11-15 15:34 -0500
    Re: PNG coding Popping mad <rainbow@colition.gov> - 2016-11-15 20:57 +0000
      Re: PNG coding "James R. Kuyper" <jameskuyper@verizon.net> - 2016-11-15 16:12 -0500
      Re: PNG coding jadill33@gmail.com - 2016-11-15 14:00 -0800
        Re: PNG coding Jorgen Grahn <grahn+nntp@snipabacken.se> - 2016-11-20 11:14 +0000
    Re: PNG coding Richard Heathfield <rjh@cpax.org.uk> - 2016-11-15 21:45 +0000
      Re: PNG coding "James R. Kuyper" <jameskuyper@verizon.net> - 2016-11-15 17:15 -0500
        Re: PNG coding Richard Heathfield <rjh@cpax.org.uk> - 2016-11-15 22:41 +0000
          Re: PNG coding Melzzzzz <mel@zzzzz.com> - 2016-11-15 23:49 +0100
          Re: PNG coding Anton Shepelev <anton.txt@g{oogle}mail.com> - 2016-11-16 15:23 +0300
            Re: PNG coding Richard Heathfield <rjh@cpax.org.uk> - 2016-11-16 13:57 +0000
              Re: PNG coding BGB <cr88192@hotmail.com> - 2016-11-18 01:24 -0600
                Re: PNG coding BartC <bc@freeuk.com> - 2016-11-18 11:56 +0000
                Re: PNG coding BGB <cr88192@hotmail.com> - 2016-11-18 12:48 -0600
                Re: PNG coding BartC <bc@freeuk.com> - 2016-11-19 00:21 +0000
                Re: PNG coding BGB <cr88192@hotmail.com> - 2016-11-19 01:50 -0600
        Re: PNG coding Melzzzzz <mel@zzzzz.com> - 2016-11-15 23:42 +0100
        Re: PNG coding BGB <cr88192@hotmail.com> - 2016-11-15 17:53 -0600
          Re: PNG coding "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-11-15 16:25 -0800
        Re: PNG coding raltbos@xs4all.nl (Richard Bos) - 2016-11-18 08:15 +0000
          Re: PNG coding jameskuyper@verizon.net - 2016-11-18 09:35 -0800
          Re: PNG coding supercat@casperkitty.com - 2016-11-20 14:34 -0800
      Re: PNG coding BartC <bc@freeuk.com> - 2016-11-16 19:38 +0000
        Re: PNG coding Richard Heathfield <rjh@cpax.org.uk> - 2016-11-16 22:16 +0000
  Re: PNG coding "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2016-11-16 21:14 +0800
  Re: PNG coding Jean-marc Lienher <jean-marc.lienher@bluewin.ch> - 2016-11-16 20:55 +0100
    Re: PNG coding BartC <bc@freeuk.com> - 2016-11-16 20:31 +0000
    Re: PNG coding Richard Heathfield <rjh@cpax.org.uk> - 2016-11-16 22:24 +0000

csiph-web