Why do I get the error message ‘CS0122: ‘System.Drawing.Imaging.ImageFormat.jpeg’ is inaccessible due to its protection level ‘

Platform: ASP.NET| Category: GDI+

Try giving the proper file path for the image. Also make sure you have proper permissions on that file.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.