[#1103] Added the jpg output format as apart of the PNG, improve for compatibility #1151
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of the change and which issue is fixed. List any dependencies that are
required for this change.
Add a new JPG output format which suits for devices that do not support PNG
Users can self-select their preferred format
Here's a demo video
https://github.com/Swati4star/Images-to-PDF/assets/97233980/953a7d3d-7365-4338-8540-2a01b1211cfe
Fixes #(issue)
Fixes #1103
Type of change
Just put an x in the [] which are valid.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
![Screenshot 2023-10-28 at 1 47 37 pm](https://private-user-images.githubusercontent.com/97233980/278789742-8c3ecefc-16b0-4e01-aba7-97ab3503aae4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNzIyMTAsIm5iZiI6MTcyMjE3MTkxMCwicGF0aCI6Ii85NzIzMzk4MC8yNzg3ODk3NDItOGMzZWNlZmMtMTZiMC00ZTAxLWFiYTctOTdhYjM1MDNhYWU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDEzMDUxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwOThiOThiYjA4ZmVhZDA4MTY1ZDFiNWUyMTExZWY0NDg2YWI0Nzg5MTk5ODAxOTNmOGMzMGQwZWQ2NDkzMjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.GQcpkB8lohKWJ9IZLV23Q2MowKjMM_P802iBvbTaaIM)
![Screenshot 2023-10-28 at 1 47 31 pm](https://private-user-images.githubusercontent.com/97233980/278789752-387518e4-0932-4913-a614-e07aef8122c8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNzIyMTAsIm5iZiI6MTcyMjE3MTkxMCwicGF0aCI6Ii85NzIzMzk4MC8yNzg3ODk3NTItMzg3NTE4ZTQtMDkzMi00OTEzLWE2MTQtZTA3YWVmODEyMmM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDEzMDUxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRhMjhmY2E2Y2QwNWY3OGVlZWRiNzZiNmQzOTRkOWZhYWFlMzRlNWIwNzBjYjljYWVjYzY4ZDQyMDBiN2JiZGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.KY948ynR7w8foeT1TGuMGFnBS5zFLfNjStSXjU-CPpA)
The demo video shows that when PDF is converted to image, it will generate both PNG and JPG files.
./gradlew assembleDebug assembleRelease
./gradlew checkstyle
Checklist: