redcat Posted September 8, 2006 Share Posted September 8, 2006 quote from what I posted ( :oops: ) in the v2.72 announcement post : ...* Fixed: DPI was not being saved or loaded correctly for file types other than PDN and JPEG ... Hello, I'm just beginning to use Paint.NET, so can't say if there was problems with DPI with precedent versions, but I still have some with this one.. :-( I use two existing files that was in PNG format. I load them (96pixel/inch) and resize them, but using pixel/cm (so, 37.8pixel/cm) and save them. I then load those two files on different layers and save the file in PDN format. when I reload it and go to the resize function, the sizes are not the same and I got 5.85pixels/cm ..!?? is there still a problem or could I have done something wrong..? [Edit] I manage to do what I wanted, by saving all my files to PDN format, before doing anything.. while doing the modifications on PNG format (set to 37.8pixels/cm), saving (still in PNG) and opening it again, I got 5.85pixels/cm. so don't think the problem is fixed, but I will work with PDN files now.. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 8, 2006 Share Posted September 8, 2006 Actually, looks like here are some easier repro steps: 1. Open up Paint.NET with the default blank image 2. Image -> Resize, and make sure the units are set to pixels/cm (it will recalculate it to be 37.8 pix/cm). 3. Save this image 4. Now load this image It will show as having 5.85 pix/cm. The reason this happens is apparently it is being saved as having 37.8 pixels per inch (the units aren't being saved right), but then on reloading it is converting from inches to centimeters again. 37.8 / 2.54 = 14.88 14.88 / 2.54 = 5.85 It's getting saved and converted in all sorts of weird ways. I'll see what can be done about this. In the meantime just save with pixels/inch instead of pixels/cm. 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...
Rick Brewster Posted September 8, 2006 Share Posted September 8, 2006 Oh, now I see why. I'm using a function, CentimetersToInches(). Which works great when converting measurements, but not for ratios. So everything is getting converted in the wrong direction. 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...
Rick Brewster Posted September 8, 2006 Share Posted September 8, 2006 I have a fix for this. It will be part of the v3.0 release. 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...
redcat Posted September 8, 2006 Author Share Posted September 8, 2006 thanks for looking at it.. will use inches till next version. Quote 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.