yeshwanthsai1010 opened a new issue, #927: URL: https://github.com/apache/cordova-plugin-camera/issues/927
When using the Cordova Camera plugin with the encodingType option as JPEG, I noticed that when selecting a PNG image from the gallery, the plugin modifies both the file name and type, converting the image to JPG if any scaling or modifications are applied. ### Expected Behavior: - The file name may change due to processing, but the original image format (PNG) should be retained unless explicitly converted by the user. ### Observed Behavior: - When a PNG image is selected, the plugin automatically converts it to JPG after applying modifications (e.g., scaling). - The encoding type seems to be applied regardless of the source image format, leading to unexpected format conversion. ### Questions: - Is this the expected behavior? - Is there a specific reason for converting PNG images to JPG? - Can the plugin be modified to retain the original image format when selecting images from the gallery? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org