Tiff Texture Provider

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Tiff Texture Provider

Mike
Hey guys,

There doesn't seem to be a Tiff Texture Provider in TextureIO. Does one exist somewhere and I am just missing it? Or is this a planned feature for the future? Or is there some other way to load .tiff textures.

Thanks,
Mike
Reply | Threaded
Open this post in threaded view
|

Re: Tiff Texture Provider

gouessej
Administrator
Rather use ImageIO with TextureIO. There is no plan of supporting Tiff as far as I know.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Tiff Texture Provider

Sven Gothel
Administrator
On 01/21/2013 08:00 PM, gouessej [via jogamp] wrote:
> Rather use ImageIO with TextureIO. There is no plan of supporting Tiff as far
> as I know.

I like to recommend _not_ to use AWT's ImageIO,
since it is not supported on all platforms
like headless, mobile/embedded, Android/Dalvik.

However our build in PNG is supported quite well (thx to PNGJ),
as well as other native image formats (DDS, SGI, TGA, NetPbm).
With those .. your application will run on all devices
and also use less memory and cpu cycles (AWT's ImageIO is quite expensive).

~Sven



signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Tiff Texture Provider

gouessej
Administrator
What about JPEG? I'm not a big fan of Swing ImageIO, I suggested it as a workaround.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Tiff Texture Provider

Sven Gothel
Administrator
On 01/21/2013 09:04 PM, gouessej [via jogamp] wrote:
> What about JPEG?
Such encoder/decoder is missing in our 'core support'.
Is it more desired than PNG? Thought the latter is superior anyways.
However, if anybody knows about a 'small and fast' JPEG encoder (optional)
and decoder w/ a compatible license (BSD, Apache2, ..) we can migrate it.

> I'm not a big fan of Swing ImageIO, I suggested it as a
> workaround.
Yup.

~Sven



signature.asc (911 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Tiff Texture Provider

gouessej
Administrator
PNG and GIF are better for logos whereas JPEG is better for photos.

Maybe look at this:
http://web.archive.org/web/20090228122307/http://schmidt.devlib.org/java/pixel-image-io-libraries.html
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Tiff Texture Provider

Sven Gothel
Administrator
In reply to this post by gouessej
On 01/21/2013 10:28 PM, Sven Gothel wrote:
> On 01/21/2013 09:04 PM, gouessej [via jogamp] wrote:
>> What about JPEG?
> Such encoder/decoder is missing in our 'core support'.
> Is it more desired than PNG? Thought the latter is superior anyways.
> However, if anybody knows about a 'small and fast' JPEG encoder (optional)
> and decoder w/ a compatible license (BSD, Apache2, ..) we can migrate it.
>

https://jogamp.org/bugzilla/show_bug.cgi?id=671




signature.asc (911 bytes) Download Attachment