Comments (3)
Thanks for the report! The pixel format is indeed saved in the DDS_PIXELFORMAT
header with DX10 images by the plugin. The problem is, for the sake of reading
images that were created elsewhere, I can't depend on it. So when a DX10 image
is detected, the plugin has to determine the pixel format using the DXGI format
alone. A8 works fine for me (DXGI_FORMAT_A8_UNORM), but L8A8 does not. The
image is read fine, but the annoying error message is displayed anyways. This
is because L8A8 has no compatible DXGI format that I am aware of. I am working
on a fix for this. It could be considered a bonus feature, as any other DX10
DDS image authoring software should not have L8A8 as a supported format! :)
There are a few other formats that the plugin supports that will cause this
problem as well. Thanks again for the bug report!
Original comment by [email protected]
on 12 Feb 2014 at 10:41
- Changed state: Started
from gimp-dds.
Thank you for your reply. I guess, I was wrong.
Sorry for wasting your time.
Original comment by [email protected]
on 12 Feb 2014 at 11:16
from gimp-dds.
Not a waste of my time! It's a very valid bug report. Thank you for bringing
it to my attention. I could let the plugin detect the pixel format for unknown
DXGI formats like you suggested, but that would be against the DDS standards.
I can have a working fix rather quick for that. A more correct fix would
probably be to not allow saving DX10 format images with incompatible pixel
formats. A compatible DXGI format would be the R8G8 format, and you use a
shader to sample the texture as RRRG, which would effectively give you L8A8.
Original comment by [email protected]
on 12 Feb 2014 at 11:43
from gimp-dds.
Related Issues (20)
- New user...All I see is gray and gray squares HOT 2
- Add option to preserve alpha test coverge for alpha channel mipmaps HOT 3
- Support for texture arrays HOT 8
- Strange artifacts at Original compression? HOT 3
- DDS Image message: Error opening file HOT 5
- Patch for /tags/release-3.0.1/ddsplugin.h HOT 1
- DDS cubemap not possible HOT 3
- Add and save "flipY" option to export dialog
- Can't compile for RHEL6 HOT 3
- Saving DDS "with existing mipmaps" should be possible for non-quadratic images HOT 1
- [RFE] please add metainfo
- Will not work with GIMP 2.6.4. HOT 1
- Plugin can't open Files which are in Directories that have a special character in their name
- Error message on 2.8.6
- Opening DDS fails with error HOT 1
- R8G8B8 still contains alpha HOT 1
- Gimp-dds plugin adds alpha channel to originally 24 bit texture when saving to DXT1
- Have you exported this project to github?
- normalization function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gimp-dds.