![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Warp" <war### [at] tag povray org> wrote in message
news:3bf8c7f1@news.povray.org...
> Thorsten Froehlich <tho### [at] trf de> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Ben Chambers <bdc### [at] hotmail com> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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] geocities com> wrote in message
news:3BF### [at] geocities com...
> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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] free fr http://adrien.beau.free.fr/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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] free fr http://adrien.beau.free.fr/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |