toe_head2001 Posted March 5, 2015 Share Posted March 5, 2015 (edited) TinyPNG This is a save filetype plugin that will use the TinyPNG service to compress images. Requested here. TinyPNG uses lossy compression, while maintaining transparency and most visual quality. A few things to keep in mind: -An active internet connect is required -This will send your image to a third party service (TinyPNG), and download a compressed version generated by said third party. You'll need to read their Terms of Service; especially the privacy section. -You need to sign up for your own API key. Real world photo comparison: Your Mileage may vary Left: Original Image - 204KB, Right: TinyPNG (very little compression artifacts) - 44KB . Spoiler Example Photo Comparison Original - 204KB OptiPNG (default settings) - 126KB OptiPNG (Palette option) - 47KB TinyPNG - 43KB Large Color Spectrum Comparison Original - 259KB OptiPNG (default settings) - 36KB OptiPNG (Palette option) - 40KB TinyPNG - 27KB Download TinyPNG.zip Installation 1) Place both TinyPNGPlugin.dll & TinyPNG.txt into your FileTypes directory. 2) Copy and paste your API key into the TinyPNG.txt file. Source Code https://github.com/toehead2001/pdn-tinypng Edited July 25, 2017 by toe_head2001 2 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...
midora Posted March 5, 2015 Share Posted March 5, 2015 It is important to say (and should be mentioned in the first message of the topic ) that the result of TinyPNG is loosy and not lossless. That's the reason for the big difference in size. But if the result is loosy then people have to ask themself why they should use this format instead of jpeg. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted March 5, 2015 Author Share Posted March 5, 2015 On 3/4/2015 at 11:17 PM, midora said: It is important to say (and should be mentioned in the first message of the topic ) that the result of TinyPNG is loosy and not lossless. That's the reason for the big difference in size. But if the result is loosy then people have to ask themself why they should use this format instead of jpeg. Right you are; I added the lossy information to the first post. The main advantage over jpeg is transparency. Personally, I will never use this service in practice, because I don't like sending my personal images off to some third party. Same reason I usually don't touch Google Docs, Dropbox, and other cloud services. 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...
midora Posted March 5, 2015 Share Posted March 5, 2015 I'm always happy if the users get more alternatives if has a chance to understand what he gets. So thanks for this. To be fair against OptiPNG you may add the results of selecting the 'palette' option in OptiPng. I would expect that the difference to TinyPNG will be quiet small. Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted March 5, 2015 Author Share Posted March 5, 2015 To be fair against OptiPNG you may add the results of selecting the 'palette' option in OptiPng. I would expect that the difference to TinyPNG will be quiet small. Yes, with 'Palette' option toggled on, OptiPNG will output a file size that's pretty much the same size. However, the visual quality is very noticeable lower. I'll add a more comprehensive comparison table, so people can weigh their options. 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...
borekb Posted March 5, 2015 Share Posted March 5, 2015 Confirming it's working, thank you very much! Sure, some local alternative with similar compression results would be nice but I don't know of any - do you? Quote Link to comment Share on other sites More sharing options...
midora Posted March 5, 2015 Share Posted March 5, 2015 Confirming it's working, thank you very much! Sure, some local alternative with similar compression results would be nice but I don't know of any - do you? But did you test with the 'palette' option of OptiPNG? It does the same as TinyPNG: Reducing the png to 8-bit colors. Quote Link to comment Share on other sites More sharing options...
Capoeirista Posted December 20, 2015 Share Posted December 20, 2015 (edited) I have error All is normal Edited December 20, 2015 by Capoeirista Quote Link to comment Share on other sites More sharing options...
Amaroq Dricaldari Posted April 23, 2016 Share Posted April 23, 2016 (edited) Have you looked at this website yet?https://pngmini.com/lossypng.htmlI first heard about Lossy PNG encoding there; you should consider taking it a look, if my eyes do not deceive me, then they actually have the Source Code available... which means it can be turned into a Paint.NET plugin instead of a standalone program, it would get better results than TinyPNG, and most importantly it wouldn't require an online service.It can also do low-color paletted images that still contain an alpha channel... of course, it's not compatible with Paint.NET's native PNG exporting, but it is still pretty sweet none the less. (Can't wait for 24-bit images with transparency threshold, or alpha-channel dithering for transparency thresholds) Edited April 23, 2016 by Amaroq Dricaldari Quote Link to comment Share on other sites More sharing options...
gudda Posted February 14, 2017 Share Posted February 14, 2017 i think this png/jpg/image compressor is better compress-png-jpg-image as it allows 50 files in one chance. if you know any better then kindly share link Quote Link to comment Share on other sites More sharing options...
Chaprnks Posted July 23, 2017 Share Posted July 23, 2017 Could you post the source code, so we can update it with our own API keys? Quote Link to comment Share on other sites More sharing options...
BoltBait Posted July 23, 2017 Share Posted July 23, 2017 On 3/4/2015 at 9:43 PM, toe_head2001 said: Installation: 1) Place both TinyPNGPlugin.dll & TinyPNG.txt into your FileTypes directory. 2) Copy and paste your API key into the TinyPNG.txt file. Please check to see if you have followed the install instructions properly. 1 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
toe_head2001 Posted July 24, 2017 Author Share Posted July 24, 2017 BoltBait is absolutely correct. There is no API Key in the source code. As for posting the source code... I guess I forgot to do that. I'll post it in the coming days. 1 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...
toe_head2001 Posted July 25, 2017 Author Share Posted July 25, 2017 Ok, the source code has been posted: https://github.com/toehead2001/pdn-tinypng I also add a few more sanity checks to the code, and added some more specific error messages. Again, there are no API Keys within the source code. 2 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...
Walkeras Posted January 17, 2018 Share Posted January 17, 2018 Hey Toe_head, Thank you for the plugin! Works great for optimising images to use online. Is there any chance that we could also get it for the JPG version? Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted January 17, 2018 Author Share Posted January 17, 2018 2 minutes ago, Walkeras said: Is there any chance that we could also get it for the JPG version? What jpeg version? Is there a TinyJPEG service or something? 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...
Walkeras Posted January 22, 2018 Share Posted January 22, 2018 Yes there is, it can also be run from tinypng.com but they have another domain called tinyjpg.com 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.