Writing DDS image format has major errors
Moderators: helmut, XnTriq, xnview
Writing DDS image format has major errors
the latest version can read DDS (type DXT1) OK , but saving the same image
in DDS DXT1 format gets data (colors) all scrambled up.
Not sure about other DDS types, anyone ??
René
V1.90 <x>
in DDS DXT1 format gets data (colors) all scrambled up.
Not sure about other DDS types, anyone ??
René
V1.90 <x>
Re: writing DDS image format has major errors
Really, i have no problem. Could you send me original file?rra wrote:the latest version can read DDS (type DXT1) OK , but saving the same image
in DDS DXT1 format gets data (colors) all scrambled up.
Not sure about other DDS types, anyone ??
Pierre.
The file is rather big , 16384 x 8192 x 32 bit,
all together something like 87 MB.
I will rar the file (compressed to 28 MB) and put it on my
personal webspace.
Alternatively I can also look for a smaller file with the same problem.
its URL is:
http://members.home.nl/ramekers/Earth.rar .
Just reading the file with XnView and saving it back as the same type
with different name, and reading the copy back will show what went wrong.
If you have trouble obtaining the file send me a message.
Thanks ,
René
all together something like 87 MB.
I will rar the file (compressed to 28 MB) and put it on my
personal webspace.
Alternatively I can also look for a smaller file with the same problem.
its URL is:
http://members.home.nl/ramekers/Earth.rar .
Just reading the file with XnView and saving it back as the same type
with different name, and reading the copy back will show what went wrong.
If you have trouble obtaining the file send me a message.
Thanks ,
René
Do you have a smaller file??rra wrote:The file is rather big , 16384 x 8192 x 32 bit,
all together something like 87 MB.
I will rar the file (compressed to 28 MB) and put it on my
personal webspace.
Alternatively I can also look for a smaller file with the same problem.
its URL is:
http://members.home.nl/ramekers/Earth.rar .
Just reading the file with XnView and saving it back as the same type
with different name, and reading the copy back will show what went wrong.
If you have trouble obtaining the file send me a message.
Thanks ,
René
Pierre.
Yes , this one is "only" 8 MB, problem is the same is te bigger one:
http://members.home.nl/ramekers/Earth8k.zip
René
http://members.home.nl/ramekers/Earth8k.zip
René
I have placed a similar DDS texture on my website,
it is rarred to conserve space.
http://members.home.nl/ramekers/Earth8k.rar
Just resize the original 8K DDS file (50% for example), save it into DDS format, and reload the smaller DDS file again !!
René Ramekers[/img]
it is rarred to conserve space.
http://members.home.nl/ramekers/Earth8k.rar
Just resize the original 8K DDS file (50% for example), save it into DDS format, and reload the smaller DDS file again !!
René Ramekers[/img]
Yes, but currently i don't find this bug...rra wrote:I have placed a similar DDS texture on my website,
it is rarred to conserve space.
http://members.home.nl/ramekers/Earth8k.rar
Just resize the original 8K DDS file (50% for example), save it into DDS format, and reload the smaller DDS file again !!
René Ramekers[/img]
Pierre.
I can confirm the bug "rra" described (using beta 5). Here's what I did exactly:
- Open the DDS by double-clicking on it (if needed, you need to associate it with XnView first).
- Resize the image to 50% with "Keep ratio" and "Lanczos" checked.
- "Save as..." the image under a different name.
- Close XnView.
- Open the new image by double-clicking on it.
Here's how the broken new image looks like:
http://www.tu-bs.de/~y0011326/Earth8k_resized.png
EDIT: In case you've written the DDS / DXT (de-)compression code yourself, I can recommend to use squish instead.
- Open the DDS by double-clicking on it (if needed, you need to associate it with XnView first).
- Resize the image to 50% with "Keep ratio" and "Lanczos" checked.
- "Save as..." the image under a different name.
- Close XnView.
- Open the new image by double-clicking on it.
Here's how the broken new image looks like:
http://www.tu-bs.de/~y0011326/Earth8k_resized.png
EDIT: In case you've written the DDS / DXT (de-)compression code yourself, I can recommend to use squish instead.