null54 Posted September 25, 2012 Share Posted September 25, 2012 This plugin optimizes JPEG images using jpegtran. Compatibility: 5.0.11+ Installation: 1. Close Paint.NET. 2. Place OptimizedJPEG.dll and jpegtran.exe in the Paint.NET FileTypes folder which is usually located in one the following locations depending on the Paint.NET version you have installed. Classic: C:\Program Files\Paint.NET\FileTypes Microsoft Store: Documents\paint.net App Files\FileTypes Portable: <Paint.NET folder>\FileTypes 3. Restart Paint.NET. Download: OptimizedJPEGFiletype.zip Source Code: https://github.com/0xC0000054/pdn-optimized-jpeg 3 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
AnotherLife Posted September 26, 2012 Share Posted September 26, 2012 (edited) Hello, thanks for this but it's not working for me. I just dropped the two files under C:\Program Files\Paint.NET\FileTypes\ I can tell it's not working because the filesize is the same whether p.net starts with the two files or without. Also, when I run the files through jpegtran.exe they get smaller, so the optimization wasn't applied. (I'm opening random jpg files and using 'save as') I checked with ProcessExplorer and under p.net's NET assemblies tab I see OptimizedJPEG.dll, so it is loaded. I'm using version 3.5.10 under win7 x64. Any ideas ? Edited September 26, 2012 by AnotherLife Quote Link to comment Share on other sites More sharing options...
null54 Posted September 26, 2012 Author Share Posted September 26, 2012 Hello, thanks for this but it's not working for me. I just dropped the two files under C:\Program Files\Paint.NET\FileTypes\ I can tell it's not working because the filesize is the same whether p.net starts with the two files or without. Also, when I run the files through jpegtran.exe they get smaller, so the optimization wasn't applied. (I'm opening random jpg files and using 'save as') I checked with ProcessExplorer and under p.net's NET assemblies tab I see OptimizedJPEG.dll, so it is loaded. I'm using version 3.5.10 under win7 x64. Any ideas ? Have you installed the required Visual C++ runtime? Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
AnotherLife Posted September 27, 2012 Share Posted September 27, 2012 Have you installed the required Visual C++ runtime? Yes, I'm positive there is no problem there. I hope someone else posts if it's working for them or not. (Does it matter that I'm on x64 ?) Quote Link to comment Share on other sites More sharing options...
null54 Posted September 27, 2012 Author Share Posted September 27, 2012 (Does it matter that I'm on x64 ?) No, it would not. Added a check box to enable or disable the optimization, file version updated to 1.0.0.1. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
AnotherLife Posted September 27, 2012 Share Posted September 27, 2012 Where would that checkbox be ? If it was working for me, anyway Quote Link to comment Share on other sites More sharing options...
null54 Posted September 27, 2012 Author Share Posted September 27, 2012 Where would that checkbox be ? If it was working for me, anyway Under the Quality slider. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
AnotherLife Posted January 7, 2014 Share Posted January 7, 2014 Well, took me a few years, but I finally saw that it adds a new file type "Optimized jpeg" which I have to select .... Thanks Quote Link to comment Share on other sites More sharing options...
sharpy Posted January 16, 2014 Share Posted January 16, 2014 I really have to thank you for this Plug-in. As an owner of a SONY Bravia smart TV that wont display standard JPEG's, I tried your Plug-in to convert a few, to test and wonders of wonders it worked a treat thanks again. Quote Link to comment Share on other sites More sharing options...
AlexDolmatov Posted June 6, 2016 Share Posted June 6, 2016 (edited) I updated exe http://jpegclub.org/jpegtran/ -it's worked, but in process saved Paint.Net write "Отмена" (Cancel) Edited June 6, 2016 by AlexDolmatov Quote Link to comment Share on other sites More sharing options...
null54 Posted June 8, 2017 Author Share Posted June 8, 2017 Reduced file size when saving gray scale images.Fixed an issue with spaces in the temp directory path. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
AlexDolmatov Posted November 20, 2019 Share Posted November 20, 2019 I updated exe http://jpegclub.org/jpegtran/ (jpegtran 9c 14-Jan-2018). Don't find errors. Quote Link to comment Share on other sites More sharing options...
null54 Posted October 19 Author Share Posted October 19 Release version 1.0.3. This release is for Paint.NET 5.0.11+. Changes: Updated the plugin to use Paint.NET's built-in JPEG FileType for loading and saving. Improved performance when saving. Use random file names for the temporary files. Fixed a compatibility issue with certain jpegtran builds. 3 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait 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.