Lizasaur Posted February 13, 2020 Share Posted February 13, 2020 Hi! I'm new to Paint.Net and have tried searching but I guess I don't really understand what I'm looking for. I'm trying to open a picture to edit, but I get an error ("There was an error opening the file") I click "More Details" and this is what it says: Application version: paint.net 4.2.9 WebPFileType.WebPException: The file is not a valid WebP Image. at WebPFileType.WebPFile.Load(Byte[] webpBytes) at WebPFileType.WebPFileType.GetOrientedDocument(Byte[] bytes, ExifValueCollection& exifMetadata) at WebPFileType.WebPFileType.OnLoad(Stream input) at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 522 at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 522 at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158 Thank you for any help! Liz Quote Link to comment Share on other sites More sharing options...
Pixey Posted February 13, 2020 Share Posted February 13, 2020 Hello @Lizasaur and Welcome to the Forum I think you saved the image you are trying to import in the wrong format. If you can go back to the image you want and save it as a .jpeg or .png then you should not have trouble uploading it. Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
toe_head2001 Posted February 13, 2020 Share Posted February 13, 2020 I'm going to take guess here, and say you have file extensions hidden in Windows Explorer. So, your image file is probably named something like MyImage.PNG.WEBP, but the .WEBP part in hidden. 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...
Lizasaur Posted February 14, 2020 Author Share Posted February 14, 2020 6 hours ago, toe_head2001 said: I'm going to take guess here, and say you have file extensions hidden in Windows Explorer. So, your image file is probably named something like MyImage.PNG.WEBP, but the .WEBP part in hidden. I opened up properties and you're right! It is a .webp Does that mean I can't open it? Or is there a trick to getting it to work? Thank you so much Quote Link to comment Share on other sites More sharing options...
olavrb Posted February 14, 2020 Share Posted February 14, 2020 (edited) 38 minutes ago, Lizasaur said: I opened up properties and you're right! It is a .webp Does that mean I can't open it? Or is there a trick to getting it to work? Thank you so much If it's a real WebP file you should be able to open it with Paint.net natively I think. You could also try to install this extension for Windows 10, it lets you open WebP files natively in the "Photos" app: https://www.microsoft.com/store/apps/9pg2dk419drg If it's not real WebP, maybe a PNG, remove the ".webp" in the end of the file name so it only says "<name>.png", then try open it with Paint.NET or Windows 10 built in "Photos" app. Edited February 14, 2020 by olavrb Quote Link to comment Share on other sites More sharing options...
HyReZ Posted February 14, 2020 Share Posted February 14, 2020 (edited) It appears that Windows 10 has the ability to open and write WebP files since Build 17692.1004. (I think that you have to install the Microsoft store WebP extension codec) I just looked at Microsoft's Paint on my computer (running version 1909 build 18363.657) and it can handle WebP files, so Paint.NET running on a current version of Windows 10 should do the same. Edited February 14, 2020 by HyReZ Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted February 14, 2020 Share Posted February 14, 2020 Paint.NET's WebP support is via @null54's WebP FileType plugin, which has been bundled with the app since the 4.2.5 release. WIC isn't used, so @HyReZ's comments about Win10 aren't relevant. Other file types, such as HEIC and AVIF, do go through WIC and do require Win8 or Win10 with the appropriate codec installation from the Store. 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...
Lizasaur Posted February 15, 2020 Author Share Posted February 15, 2020 I have Windows 8.1 and Paint is 4.2.9.... so it should be included and able to open these webp images, right? I took the .png out of the file name and the error is still happening 😕 Quote Link to comment Share on other sites More sharing options...
Pixey Posted February 15, 2020 Share Posted February 15, 2020 I just opened a. webp image and it opened up fine v 4.2.10. Do your properties of your image look like this? Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
null54 Posted February 15, 2020 Share Posted February 15, 2020 3 hours ago, Lizasaur said: I took the .png out of the file name and the error is still happening 😕 Try removing the .webp extension from the filename, it may be a png file with a .webp file extension. 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...
Ego Eram Reputo Posted February 16, 2020 Share Posted February 16, 2020 The definitive paint.net tool for identifying mis-named image files is this one: What's It? Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker 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.