After extensive research I've discovered that images on xnconvert naturally have their colors altered and that can't be changed. Then, another person wrote on the forum that in order to convert the file and preserve the color in totality you need to use NConvert.
Now, I only found XnConvert because I tried ReaConverter and they had the same problem. I tried NConvert and the command prompt doesn't open on Windows 10 64-bit, so I cannot use NConvert. Then I tried ImageMagick and they can't do bulk images which defeats the purpose.
Let me give you an example. Here is a DDS file, and a PNG file that was created through XnConvert. All I'm doing is changing DDS to PNG.
But if you zoom in closely, you see the colors are different.
You have to zoom in about 700% and switch between photos to reveal the difference. 1.JPG is the dds converted to JPG using Paint.net. It maintains the EXACT COLOR of the original, and paint.net does that for every image (it would be a perfect program but it doesn't have bulk converting). Then, 2.JPG is through XnConvert, which has different colors than the original because __[insert poor excuse here]__. So open up both, zoom in 700% and switch between the two and you'll see the colors are different, and that's because XnConvert changes something. I don't know what it changes, but the colors are off in every single photograph and I can't fix it.
Do any of you know a program that can easily convert large amounts of images without completely messing up the color along the way? Thanks
Batch convert images but preserve exact colors?
Moderators: helmut, XnTriq, xnview
-
- Posts: 5
- Joined: Fri Dec 06, 2019 9:06 am
Batch convert images but preserve exact colors?
- Attachments
-
- 2.jpg (66.83 KiB) Viewed 2645 times
-
- 1.jpg (66.79 KiB) Viewed 2645 times
-
- Posts: 5
- Joined: Fri Dec 06, 2019 9:06 am
Re: Batch convert images but preserve exact colors?
I just tested it, the answer is Yes.
Loading JPG and outputting as PNG -> Perfect Color with XnConvert (No problem!)
Loading DDS and outputting as PNG -> Wrong Color with XnConvert. Alphachannel is kept which is good.
That is my knowledge. Thank you for your reply!
Loading JPG and outputting as PNG -> Perfect Color with XnConvert (No problem!)
Loading DDS and outputting as PNG -> Wrong Color with XnConvert. Alphachannel is kept which is good.
That is my knowledge. Thank you for your reply!
Last edited by nathanielrh on Fri Dec 06, 2019 8:43 pm, edited 1 time in total.
Re: Batch convert images but preserve exact colors?
could you post the PNG file?nathanielrh wrote: Fri Dec 06, 2019 1:34 pm Loading JPG and outputting as PNG -> Perfect Color with XnConvert (No problem!) Alpha is deletedI need to keep alphachannel.
Pierre.
-
- Posts: 5
- Joined: Fri Dec 06, 2019 9:06 am
Re: Batch convert images but preserve exact colors?
I edited my post! I realize that JPG does not preserve Alphachannel so it was stupid of me to complain about alphachannel lost when converting from JPG (which has no alphachannel anyway) to PNG.
The problem here is not JPG to PNG, it's DDS to any other extension (DDS -> PNG, TIF, TGA, BMP, JPG) any of these changes has messed up color, as shown in the original post.
However, to answer your question, the color is perfectly fine when converting from JPG to PNG.
Here, I will test it another way for you:
I will use Paint.net to turn the DDS into PNG, and I will use XnConvert to change the PNG into another PNG.
Worked perfectly -- No Color difference.
1 (COLOR GOOD).png 1_XnConvertDDStoPNG (COLOR WRONG).png 1_XnConvertPNGtoPNG (COLOR GOOD).png
The problem here is not JPG to PNG, it's DDS to any other extension (DDS -> PNG, TIF, TGA, BMP, JPG) any of these changes has messed up color, as shown in the original post.
However, to answer your question, the color is perfectly fine when converting from JPG to PNG.
Here, I will test it another way for you:
I will use Paint.net to turn the DDS into PNG, and I will use XnConvert to change the PNG into another PNG.
Worked perfectly -- No Color difference.
1 (COLOR GOOD).png 1_XnConvertDDStoPNG (COLOR WRONG).png 1_XnConvertPNGtoPNG (COLOR GOOD).png
-
- Posts: 5
- Joined: Fri Dec 06, 2019 9:06 am
Re: Batch convert images but preserve exact colors?
So again thanks for helping me but do you know any programs that actually work for this task? Reaconverter has the same problem (do your programs share the same code?)
Re: Batch convert images but preserve exact colors?
It's in the DDS loading code. Could you send the dds file?nathanielrh wrote: Sun Dec 08, 2019 3:06 pm So again thanks for helping me but do you know any programs that actually work for this task? Reaconverter has the same problem (do your programs share the same code?)
Pierre.
-
- Posts: 5
- Joined: Fri Dec 06, 2019 9:06 am
Re: Batch convert images but preserve exact colors?
Here's the DDS, sorry I couldn't attach without zip file, direct draw is not an acceptable forum format.
By the way it's not just this dds that xnconvert and reaconvert has an issue with, it's almost all of them. but if you can figure out the problem for 1 you have probably solved the problem for all of them. Thank you for helping me figure out this problem.
By the way it's not just this dds that xnconvert and reaconvert has an issue with, it's almost all of them. but if you can figure out the problem for 1 you have probably solved the problem for all of them. Thank you for helping me figure out this problem.
- Attachments
-
- DDS inside Zip for xnview forums.zip
- (19.78 KiB) Downloaded 107 times