null54

WebP Filetype (2019-07-14)

Recommended Posts

4 hours ago, skr68 said:

Chrome, IrfanView Firefox and Windows Photo Viewer (with webp plugins installed) can handle the file with the wrong extension perfectly, they seem to look at the content rather than the extension. Could the same be achieved for paint.net as well? That would make this plugin just perfect!

 

I do not know, that would be a question for @Rick Brewster.

Share this post


Link to post
Share on other sites

Yeah, I thought that.

 

But I also thought that the plugin might work as a hook, i.e. whenever a file is opened in paint.net, it checks if there is a plugin hooked in, which in turn checks if it should handle the opening. In case of the webp plugin I figured that it only looks for the file extension (PNG) and decides hold still and process back to paint.net, which fails opening the file because it is a secret WEBP file.

 

If that is true, could the plugin not check the file content to see if it is a WEBP file in disguise and open it regardless of the extension, or otherwise pass control back to paint.net? Or will it not be called for PNG files at all?

 

But I guess you would know that better than me ;)

Edited by skr68

Share this post


Link to post
Share on other sites
1 hour ago, skr68 said:

If that is true, could the plugin not check the file content to see if it is a WEBP file in disguise and open it regardless of the extension, or otherwise pass control back to paint.net? Or will it not be called for PNG files at all?

 

The plugin will only be called for files with a .webp extension.

Share this post


Link to post
Share on other sites

Corrected the handling of color profile metadata.
Simplified the save configuration dialog and converted it to IndirectUI.

File version updated to 1.1.0.0.

  • Like 1

Share this post


Link to post
Share on other sites
  • Fixed a crash relating to the save cancellation in Paint.NET 4.1.7.
  • Convert the WebP EXIF metadata into a format that Paint.NET understands.
  • Reduced memory usage when saving.
  • Fixed a P/Invoke marshaling bug when saving the WebP metadata.

File version updated to 1.2.0.0.

  • Like 2
  • Upvote 1

Share this post


Link to post
Share on other sites

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.