Jump to content

Optimized JPEG Filetype (2017-06-08)


null54

Recommended Posts

This plugin optimizes JPEG images using jpegtran.

To install place both the exe and dll in Paint.NET's FileTypes folder.

 

btn_donate_SM.gif


Download:

 

OptimizedJPEG.zip

 

Source Code:

 

https://github.com/0xC0000054/pdn-optimized-jpeg

  • Upvote 3

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint 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

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 by AnotherLife
Link to comment
Share on other sites

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?

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint 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

(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.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint 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

Where would that checkbox be ? :unimpressed:

If it was working for me, anyway :)

Under the Quality slider.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint 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

  • 1 year later...
  • 2 weeks later...
  • 2 years later...

Reduced file size when saving gray scale images.
Fixed an issue with spaces in the temp directory path.

PdnSig.png

Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint 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

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...