On 09/04/14 12:20, Vincent Damoy wrote:
> [...]
> I understand that pyglet doesn't find the DDS encoder.
> Do you know where it is? (I didn't find it in pyglet files)
> Does it exist in Linux package? (a friend of mine succeeded to encode a
> DDS file with the original script, but he works under windows)
> Or may be "image.save(namefile+'.dds')" is not sufficient... Should I
> compress the texture before saving it in dds format?

Hi,

http://pyglet.org/doc-current/programming_guide/image.html#supported-image-formats

"The only supported save format is PNG, unless PIL is installed, in
which case any format it supports can be written."

There's no encoder for DDS AFAIK.

Re: DDS support in PIL:
http://pillow.readthedocs.org/en/latest/handbook/image-file-formats.html

PIL doesn't seem to support DDS (?), I don't know how did it work in
windows because windows uses GID+ by default, but there's no encoders.

May be someone else can help you further.

Regards,

Juan


-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to