Home / FAQ / ASP.NET / GDI+ / Why do I get the error message ‘CS0122: ‘System.Drawing.Imaging.ImageFormat.jpeg’ is inaccessible due to its protection level ‘
Try giving the proper file path for the image. Also make sure you have proper permissions on that file.
Platform BlazorASP.NETWinFormsWPFAngularReact
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with