Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support all OutputFormat's as InputFormat's #209

Closed
GoogleCodeExporter opened this issue Apr 5, 2015 · 4 comments
Closed

Support all OutputFormat's as InputFormat's #209

GoogleCodeExporter opened this issue Apr 5, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

I would like to be able to use this library for both converting to dxt formats 
and FROM dxt formats. Is it feasible to add InputFormat.DXT1/2/3?

Original issue reported on code.google.com by ja...@sickheadgames.com on 9 May 2014 at 8:34

@GoogleCodeExporter
Copy link
Author

This is certainly possible. However, the the InputOptions API is deprecated, 
instead I now favor an imperative API using the Surface and CubeSurface 
classes. The way to do what you suggest is now using:

Surface::setImage2D(Format format, Decoder decoder, int w, int h, const void * 
data);

for example:

surface.setImage2D(Format_DXT1, Decoder_D3D9, w, h, data);

If you would still wish to extend the InputOptions API, I'd be happy to 
integrate your patches.

Original comment by cast...@gmail.com on 21 May 2014 at 5:55

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

Ah, then perhaps the problem is that the C# bindings are out of date, since I 
do not have access to that API.

Original comment by ja...@sickheadgames.com on 21 May 2014 at 8:13

@GoogleCodeExporter
Copy link
Author

Ah, yes, I haven't exposed the new API through the C# wrapper yet. If you would 
like to submit patches to the wrapper, I think many users would highly 
appreciate it!

Original comment by cast...@gmail.com on 22 May 2014 at 7:12

@GoogleCodeExporter
Copy link
Author

I'm not certain yet if we intend to continue using this library. We are also 
considering some alternatives (like FreeImage), but if I decide to start work 
on this I will let you know first.

Thanks.

Original comment by ja...@sickheadgames.com on 22 May 2014 at 7:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant