POV-Ray : Newsgroups : povray.programming : GIF, TGA, PNG lib Server Time
29 Jul 2024 00:36:57 EDT (-0400)
  GIF, TGA, PNG lib (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: Ph Gibone
Subject: GIF, TGA, PNG lib
Date: 25 Apr 1999 10:16:18
Message: <372315a2.0@news.povray.org>
Hi there,

1) Does anyone knows a way to access (read and write) the values of any
points in a graphic file (GIF, TGA or PNG) from a POV Script.

or

2) Does anyone knows any good and free library for accessing the values
inside a graphic file (GIF, TGA, or PNG) callable from a 32 bits windows
C/C++ program.

TIA
Philippe


Post a reply to this message

From: Axel Hecht
Subject: Re: GIF, TGA, PNG lib
Date: 25 Apr 1999 10:27:52
Message: <372318AD.724F86E6@numerik.uni-kiel.de>
Ph Gibone wrote:
> 
> Hi there,
> 
> 1) Does anyone knows a way to access (read and write) the values of any
> points in a graphic file (GIF, TGA or PNG) from a POV Script.
> 
> or
> 
> 2) Does anyone knows any good and free library for accessing the values
> inside a graphic file (GIF, TGA, or PNG) callable from a 32 bits windows
> C/C++ program.
> 
> TIA
> Philippe

2)!
The libpng distributed with povray is one possible solution. If you
would like to have the overkill of graphics formats, go for the
ImageMagick
http://www.wizards.dupont.com/cristy/ImageMagick.html
which compiles for Win32 as well. It's freeware, though not open source,
if I remember right.


Axel


Post a reply to this message

From: Johannes Hubert
Subject: Re: GIF, TGA, PNG lib
Date: 25 Apr 1999 11:35:30
Message: <37232832.0@news.povray.org>
Careful with writing GIF files!

GIF is *not* patentfree. For any application that can write files in the GIF
format you have to pay license-fees to the patent owner Unisys. And they are
*very* strict about that! Better not get caught writing GIFs without a
license...

Johannes.


Ph Gibone wrote in message <372315a2.0@news.povray.org>...
>Hi there,
>
>1) Does anyone knows a way to access (read and write) the values of any
>points in a graphic file (GIF, TGA or PNG) from a POV Script.
>
>or
>
>2) Does anyone knows any good and free library for accessing the values
>inside a graphic file (GIF, TGA, or PNG) callable from a 32 bits windows
>C/C++ program.
>
>TIA
>Philippe
>
>


Post a reply to this message

From: Ph Gibone
Subject: Re: GIF, TGA, PNG lib
Date: 25 Apr 1999 13:24:47
Message: <372341cf.0@news.povray.org>
Thanks for the advice, I will use PNG (it's for HF manipulation)!

Philippe


>Careful with writing GIF files!
>
>GIF is *not* patentfree. For any application that can write files in the
GIF
>format you have to pay license-fees to the patent owner Unisys. And they
are
>*very* strict about that! Better not get caught writing GIFs without a
>license...
>


Post a reply to this message

From: Ph Gibone
Subject: Re: GIF, TGA, PNG lib
Date: 25 Apr 1999 13:25:39
Message: <37234203.0@news.povray.org>
>would like to have the overkill of graphics formats, go for the
>ImageMagick
>http://www.wizards.dupont.com/cristy/ImageMagick.html
>which compiles for Win32 as well. It's freeware, though not open source,
>if I remember right.


Thanks a lot, I go there right know and will let you know if it suit my
needs.

Philippe


Post a reply to this message

From: Axel Hecht
Subject: Re: GIF, TGA, PNG lib
Date: 26 Apr 1999 04:25:26
Message: <37241536.2A2B17AA@numerik.uni-kiel.de>
Johannes Hubert wrote:
> 
> Careful with writing GIF files!
> 
> GIF is *not* patentfree. For any application that can write files in the GIF
> format you have to pay license-fees to the patent owner Unisys. And they are
> *very* strict about that! Better not get caught writing GIFs without a
> license...
> 
> Johannes.
<...>

As far as I know only commercial applications have to pay for a license.
There are an awful lot of programs, even open source/GNU thingies, that
write gif. But correct, ask your favorite lawyer or unisys before
writing your own gif-code. 

Axel


Post a reply to this message

From: Ph Gibone
Subject: Re: GIF, TGA, PNG lib
Date: 26 Apr 1999 06:59:02
Message: <372438e6.0@news.povray.org>
Thanks to everyone answering my question, your answers gave me the
opportunity to discover the PGM format, which is so simple that it doesn't
need any external lib to manipulate the values (I'm not speaking about
display)

I still have some problem reading (and writing) a PGM file with pov so I
switched to C/C++ (my favorite), when the macro is running as I want, I'll
try again with pov to avoid calling an EXE before rendering : I know nobody
like that (me neither)

Philippe


Post a reply to this message

From: Nigel Stewart
Subject: Re: GIF, TGA, PNG lib
Date: 26 Apr 1999 11:54:45
Message: <37247D32.910C7128@eisa.net.au>
> I still have some problem reading (and writing) a PGM file with pov so I
> switched to C/C++ (my favorite), when the macro is running as I want, I'll
> try again with pov to avoid calling an EXE before rendering : I know nobody
> like that (me neither)

	This is a neat idea - the next step is to supply Mesa
	bindings from POV, so you can do OpenGL rendering from
	a macro.  I dunno why you'd do it - but there's something
	funky about the concept.. :-)

-- 
Nigel Stewart (nig### [at] eisanetau)  http://www.eisa.net.au/~nigels/
Postgrad Research Student, RMIT University, Melbourne, Australia
All extremists should be taken out and shot.


Post a reply to this message

From: Jon A  Cruz
Subject: Re: GIF, TGA, PNG lib
Date: 26 Apr 1999 13:09:21
Message: <37248FC2.B901EB69@geocities.com>
Axel Hecht wrote:

> Johannes Hubert wrote:
> >
> > Careful with writing GIF files!
> >
> > GIF is *not* patentfree. For any application that can write files in the GIF
> > format you have to pay license-fees to the patent owner Unisys. And they are
> > *very* strict about that! Better not get caught writing GIFs without a
> > license...
> >
> > Johannes.
> <...>
>
> As far as I know only commercial applications have to pay for a license.
> There are an awful lot of programs, even open source/GNU thingies, that
> write gif. But correct, ask your favorite lawyer or unisys before
> writing your own gif-code.

Well, back when they did their Christmass ambush of everyone, that was the case.
But Unisys has long since changed their tune and have demanded royalties from
even freeware programs. (They took the freeware exemption out of their license
well over a year ago)

Also, much of the free world is amazed by the silly concept of software patents,
and thus their authors have no problem with the issues. Here in the States,
though, the lawyers run free and are to be watched.


Post a reply to this message

From: Ph Gibone
Subject: Re: GIF, TGA, PNG lib
Date: 26 Apr 1999 15:27:43
Message: <3724b01f.0@news.povray.org>

>
>> I still have some problem reading (and writing) a PGM file with pov so I
>> switched to C/C++ (my favorite), when the macro is running as I want,
I'll
>> try again with pov to avoid calling an EXE before rendering : I know
nobody
>> like that (me neither)
>
> This is a neat idea - the next step is to supply Mesa
> bindings from POV, so you can do OpenGL rendering from
> a macro.  I dunno why you'd do it - but there's something
> funky about the concept.. :-)
>


The idea is not to render a PGM file but to read, modify, and write a new
PGM file all this makes  HF
animation !!

Well, in fact I don't really understood what is your irony about

Philippe


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.