Redth / ResizetizerNT

Add SVG's and PNG's to your shared Xamarin Project
MIT License
318 stars 31 forks source link

Proposal: Jpeg option. #91

Closed bondarenkod closed 1 year ago

bondarenkod commented 2 years ago

Hello!

I'd like to extend the feature set of ResizetizerNT by adding the possibility to generate output images in Jpeg format with configurable level of quality.

Why? In some rare cases design creators and mobile application owners want to display full screen rich color image assets. Real example:

The syntax of a new attribute is quite simple, Format="FORMAT,QUALITY" where:

This PR is an early draft because I would like to ask If you agree to include this feature in the ResizetizerNT? If yes, I will commit additional improvements to my sources to improve this PR. (There are a lot of non-nessesary edits in files, I will fix all that stuff, and complete like docs samples, maybe tests)