POV-Ray : Newsgroups : povray.general : POV to GIF? Server Time
7 Aug 2024 09:24:55 EDT (-0400)
  POV to GIF? (Message 56 to 65 of 65)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Ben Chambers
Subject: Re: POV to GIF?
Date: 24 Nov 2001 14:21:54
Message: <3bfff352@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3bf8c7f1@news.povray.org...
> Thorsten Froehlich <tho### [at] trfde> wrote:
> : No, POV-Ray does not and will not *ever* support output to a palette
based
> : image format for exactly the same reason as there is no support for any
> : other lossy output image format.  No putting it on wish-lists and no
number
> : of user requests will change the POV-Team policy not to support lossy
output
> : image formats of any kind.
>
>   I personally support this principle.
>
>   (Of course a nitpicker could argue that even a 24-bit image format is
> lossy because POV-Ray calculates images using a float for each color
> component, and a float has certainly a lot more accuracy than a byte, but
> I think that's too much nitpicking even for me...)

Aren't you able, in PNG, to specify the number of bits per color?  Although
it only lets you go down to 5 bits per color, it's still pretty lossy :)

...Chambers


Post a reply to this message

From: Warp
Subject: Re: POV to GIF?
Date: 24 Nov 2001 17:08:28
Message: <3c001a5c@news.povray.org>
Ben Chambers <bdc### [at] hotmailcom> wrote:
: Aren't you able, in PNG, to specify the number of bits per color?  Although
: it only lets you go down to 5 bits per color, it's still pretty lossy :)

  Is this possible in POV-Ray?

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Mahalis
Subject: Re: POV to GIF?
Date: 25 Nov 2001 08:39:59
Message: <3c00f4af$1@news.povray.org>
Yes, it is, though that is *not* what I was looking for.

Warp wrote...
>   Is this possible in POV-Ray?


Post a reply to this message

From: Mahalis
Subject: Re: POV to GIF?
Date: 25 Nov 2001 13:51:38
Message: <3c013dba$1@news.povray.org>
Question about that: Is there a way to specify that it *only* use colors
from the Web palette when converting?

Jon A. Cruz wrote...
> ImageMagick


Post a reply to this message

From: Mahalis
Subject: Re: POV to GIF?
Date: 25 Nov 2001 13:52:49
Message: <3c013e01$1@news.povray.org>
And how would I do that? Agent is *really* picky about colors- I think it'll
only work with the Web palette.

"Jon A. Cruz" <jon### [at] geocitiescom> wrote in message
news:3BF### [at] geocitiescom...
> Mahalis wrote:
>
> > Actually, I'm not intending to make an animated GIF out of the images.
> > There's a fairly new bit of software called Microsoft Agent- perhaps
you've
> > seen it as the Office Assistant in MS Word- and they have also released
a
> > software that lets you build your own characters. Unfortunately, space
> > requirements dictate that the program only accepts 256 color images. I'm
> > downloading DTA right now; it may be what I'm looking for.
>
> In general, things like that need all the images to share the same palette
of
> 256. Check to is if that is so for what you need? If so, it's best to
render
> all the frames, calculate an optimal palette for the whole series, then
convert
> them to 8-bit.
>
>
> --
> Jon A. Cruz
> http://www.geocities.com/joncruz/action.html
>
>
>


Post a reply to this message

From: Jon A  Cruz
Subject: Re: POV to GIF?
Date: 25 Nov 2001 22:13:50
Message: <3C01B367.D5DB3CE3@geocities.com>
Mahalis wrote:

> And how would I do that? Agent is *really* picky about colors- I think it'll
> only work with the Web palette.

http://msdn.microsoft.com/library/en-us/msagent/deschar_3r8y.asp?frame=true

Looks like it doesn't. Instead it just wants the first and last 10 colors (20
total) to be the standard Windows/VGA base palette. As long as you don't target
8-bit display users, you are free to use whatever you want for the other 236.

But... if you are targeting 8-bit users, they do have a recommended palette to
go to (the office palette)

http://www.microsoft.com/msagent/downloads/assistpalet.bmp


Anyway, that's basically what we used to need to deal with in Windows
multimedia, and making a set of images to a single 8-bit palette containing
those 20 colors in the top and bottom 10 was a common thing.

--
Jon A. Cruz
http://www.geocities.com/joncruz/action.html
A world without string is Chaos. - R. Smuntz


Post a reply to this message

From: Mahalis
Subject: Re: POV to GIF?
Date: 1 Dec 2001 18:20:46
Message: <3c0965ce@news.povray.org>
Tanks!
I know you'll think me a complete idiot (and maybe I am), but is there any
way to get ImageMagick to do this automatically?

> Looks like it doesn't. Instead it just wants the first and last 10 colors
(20
> total) to be the standard Windows/VGA base palette. As long as you don't
target
> 8-bit display users, you are free to use whatever you want for the other
236.


Post a reply to this message

From: Adrien Beau
Subject: Re: POV to GIF?
Date: 4 Dec 2001 05:51:57
Message: <3C0CA12E.2AF977A2@free.fr>
Mahalis wrote:
> 
> Tanks!
> I know you'll think me a complete idiot (and maybe I am), but is there any
> way to get ImageMagick to do this automatically?
> 
> > Looks like it doesn't. Instead it just wants the first and last 10 colors
> (20
> > total) to be the standard Windows/VGA base palette. As long as you don't
> target
> > 8-bit display users, you are free to use whatever you want for the other
> 236.

As far as I know, ImageMagick is a command line utility. (?)

If that is the case, you can write a "script" for it. A shell
script if you work with Unix, or a batch script if you work
with Windows (the .bat files or .cmd files you sometimes see).

This is not very complicated, but if you've never done that
before, you'll probably need some help or a book.

-- 
Adrien Beau   adr### [at] freefr   http://adrien.beau.free.fr/


Post a reply to this message

From: Mahalis
Subject: Re: POV to GIF?
Date: 4 Dec 2001 07:09:43
Message: <3c0cbd07@news.povray.org>
Well, I do know how to get ImageMagick to mass-process images, I just don't
know what setting to use to get it to make the first and last 10 items in
the palette the standard Win colors.

> > > Looks like it doesn't. Instead it just wants the first and last 10
colors
> > (20
> > > total) to be the standard Windows/VGA base palette. As long as you
don't
> > target
> > > 8-bit display users, you are free to use whatever you want for the
other
> > 236.

> As far as I know, ImageMagick is a command line utility. (?)
>
> If that is the case, you can write a "script" for it. A shell
> script if you work with Unix, or a batch script if you work
> with Windows (the .bat files or .cmd files you sometimes see).


Post a reply to this message

From: Adrien Beau
Subject: Re: POV to GIF?
Date: 5 Dec 2001 07:16:29
Message: <3C0E1056.9D3A65B5@free.fr>
Mahalis wrote:
> 
> Well, I do know how to get ImageMagick to mass-process images, I just don't
> know what setting to use to get it to make the first and last 10 items in
> the palette the standard Win colors.

I don't know ImageMagick. Perhaps there's a newsgroup or
mailing-list dedicated to the usage of this tool?

-- 
Adrien Beau   adr### [at] freefr   http://adrien.beau.free.fr/


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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