hamwizard Posted April 27, 2020 Share Posted April 27, 2020 (edited) I've been singing the praise of this app for a long time. I tried making some transparent PNGs to be imported into Adobe Acrobat to use as signatures for our staff (Covid19 and all, working from home, etc etc) When I import a transparent JPG, made by Paint.NET it works fine. https://i.imgur.com/gn0VLgf.png When I import a transparent PNG made by Paint.NET I get this https://i.imgur.com/DpRzEyZ.png Normally I'd point my finger, straight at Adobe, not Paint.NET - but some other crappy dos based package my boss found has worked flawlessly at creating a transparent PNG. Quote "c:\Program Files\ImageMagick-7.0.10-Q16\magick.exe" c:\Data\sig1\paint.net-transparent-jpg.jpg -fuzz 10 -transparent white c:\Data\sig2\image-magick-transparent.png (Converts a JPG, into a transparent PNG and the resulting PNG, works fine in Acrobat) So what's the deal, is Adobe requiring a malformed PNG which ImageMagick complies with some weirdo bug or is Paint.NET not quite forming a perfect transparent PNG? (again, traditionally, I'd defer to Paint.NET always bein correct) All 3 files attached for your own testing. (I can produce the 3 files if it will help) Edited April 27, 2020 by hamwizard Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted April 27, 2020 Share Posted April 27, 2020 (edited) 24 minutes ago, hamwizard said: When I import a transparent JPG, made by Paint.NET it works fine. Transparent JPGs don't exist. 24 minutes ago, hamwizard said: (Converts a JPG, into a transparent PNG and the resulting PNG, works fine in Acrobat) You can't convert a JPG to transparent PNG, because transparent JPGs don't exist. EDIT: oh, I see ImageMagick is converting white to transparent. 24 minutes ago, hamwizard said: some other crappy dos based package ImageMagick is not dos based. Yes, it is a command line program, but a Windows program. And it is awesome; not crappy in the slightest. Edited April 27, 2020 by toe_head2001 1 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
BoltBait Posted April 27, 2020 Share Posted April 27, 2020 Two things to consider when saving: and after pressing Enter: 1 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Computer Dominos Game Link to comment Share on other sites More sharing options...
hamwizard Posted April 28, 2020 Author Share Posted April 28, 2020 On 4/27/2020 at 4:05 PM, BoltBait said: Two things to consider when saving: and after pressing Enter: I'm a little annoyed by this reply but so be it, no big deal I'm not completely stupid - did anyone here *actually try what I said*? I'm definitely saving as PNG file. I am saving in Auto-Detect mode Yes you can see the transparency in the save as dialogue box. The results are identical. (yes, I screwed up discussing transparent JPG - ignore that at this point) The resulting file, from Paint.NET, continues to be entirely incompatible with Adobe Acrobat. So can someone else recreate / test? Quote Link to comment Share on other sites More sharing options...
AndrewDavid Posted April 28, 2020 Share Posted April 28, 2020 Hi @hamwizard I tried your procedure and found no problems at all. Has to be something specific to your environment, Followed all @BoltBait methods, Quote Link to comment Share on other sites More sharing options...
hamwizard Posted April 28, 2020 Author Share Posted April 28, 2020 Ok fair call - this is a work build - perhaps my Paint.NET is out of date or Adobe - I'll try re-creating it on a spare VM here. Quote Link to comment Share on other sites More sharing options...
BoltBait Posted April 28, 2020 Share Posted April 28, 2020 3 minutes ago, hamwizard said: I'm a little annoyed by this reply Sorry, but we get all levels of users around here. We never know what someone's skill level with Paint.NET is. So, I try to break things down to their most basic elements. It looks to me that Adobe Acrobat is loading the PNG the same way it would load a JPG--that is, it is ignoring the transparency of the native PNG format and trying to make white pixels transparent. I don't have Acrobat, so I would suggest seeing if there is an import setting in Acrobat that controls this. Something like "key color: white" or something like that. One way to test this would be to create a black signature on a white background and save it in PNG format, then see if that works in Acrobat. When saving a PNG file, I believe Paint.NET converts all transparent pixels to transparent black which tells me that Acrobat is ignoring the transparency information in the PNG file and trying to read the color white as transparency. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Computer Dominos Game Link to comment Share on other sites More sharing options...
hamwizard Posted April 28, 2020 Author Share Posted April 28, 2020 Well I appreciate the responses - I was saving the file correctly, re-created the issue on the test PC. However, you're right, it seems Adobe Acrobat will try to strip out the white on a transparent JPG and make a total mess of it all. I then made a non transparent, black on white signature and it worked a treat. Problem with that is, our solution requires a single file for users, for both MS Word and Adobe, not that this is the fault of Paint.NET - so we may need to continue with the current solution of ImageMagik or perhaps I could add a single, white pixel to a transparent signature, giving Adobe /something/ to strip out, so it doesn't ruin the rest of the PNG. Either way solution found - thanks so much guys. Sorry I didn't test deeper, been very busy with more work coming in with Corona virus. Good luck. Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted April 30, 2020 Share Posted April 30, 2020 If your solution requires "a single file for users", then maybe the solution's requirements should be changed? 1 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.