madoke Posted April 16, 2012 Share Posted April 16, 2012 (edited) I have been trying to edit a .dds texture file using Pint.net, latest version. The raw file is a single layer, and is roughly 1.3 mb in size. A friend loaded the file into Photoshop and the file loaded perfectly. I used this as a test of teh validity of the .dds file. When I try to view the same file in Paint.net, I only see the upper left quadrant of the file, exactly 25% of the total graphic. I am attaching screen shot of the Paint.net result and a shot of what the file should look like (as seen by a specialized reader - read only). I need to edit the wording on the signs in this texture, and unfortunately the signs I want to edit are in the area that is not showing in Paint.net. If anyone has any ideas as to how I can resolve this, or troubleshoot it to find out what is wrong, I would greatly appreciate any help you can give. Thanks, Doug Spokane, WA Edited April 16, 2012 by madoke Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted April 16, 2012 Share Posted April 16, 2012 Can you attach a ZIP of the DDS file, or link to it perhaps? Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
madoke Posted April 16, 2012 Author Share Posted April 16, 2012 Can you attach a ZIP of the DDS file, or link to it perhaps? The file is 1.3 mb, too big to attach here. I will try to find a place to provide a link. May take a while. Thanks for assisting. Doug Quote Link to comment Share on other sites More sharing options...
madoke Posted April 17, 2012 Author Share Posted April 17, 2012 Can you attach a ZIP of the DDS file, or link to it perhaps? OK, here is the .dds file. It is on Dropbox at the following link. Let me know if you have any difficulties. http://dl.dropbox.com/u/59536161/GX_Misc_Signs05.dds Looking forward to your feedback. Doug Quote Link to comment Share on other sites More sharing options...
midora Posted April 17, 2012 Share Posted April 17, 2012 (edited) OK, here is the .dds file. It is on Dropbox at the following link. Let me know if you have any difficulties. Just to say Paint.NET, Irfanview, and XnView show all the same. Most part of the image is transparent. Maybe Photoshop does not respect the transparency? Sometimes later... Based on this assumption I removed the transparency using the AlphaMask plugin. Voila all image data is there. Edited April 17, 2012 by midora Quote Link to comment Share on other sites More sharing options...
madoke Posted April 17, 2012 Author Share Posted April 17, 2012 (edited) Great! Thank you so much for your assistance. I am assuming that I can find that plugin here, and that it is relatively self explanatory (with a readme or equivalent). I am new to Paint.net, so this will be interesting. Can't imagine why the original file had this transparency, but now that I know to look for this I can avoid it in the future. Thanks again, Doug PS: Just tried using Alphamask and the file was corrected perfectly. I will pass this on to others I know with the same problem. Edited April 17, 2012 by madoke Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted April 17, 2012 Share Posted April 17, 2012 So basically the color values are all correct and the alpha values are zero'd out for some reason. If you knew how to use CodeLab it would be easy to write a little script that just set "color.A = 255" for all pixels. Conceptually it'd be, for (int y = 0; y < layer.Height; ++y) { for (int x = 0; x < layer.Width; ++x) { ColorBgra c = layer[x, y]; c.A = 255; layer[x, y] = c; } } Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.