No option to specify Saved image extension to png etc. it always saved as JPG
akhileshsharma opened this issue · 8 comments
Currently when Crop and or compress used or with Camera images there is no option to provide desired image extension while getImageFile method of fileUtils have scope for specifying file extension to save file with desired file extension. Please fix and update.
Its a great library and I guess few more small and quick fixes will make it better.
It would be great if just like .saveDir() can include options like .saveFileName() and .saveFileExt()
For .saveFileExt() option values can be restricted to .jpg, .png, .bmp, .jpeg
@akhileshsharma I have not released a version yet! Hopefully today or tomorrow I will release a new version after thorough testing.
Thank you!
Yes @Dhaval2404 noticed. Looking forward.
@akhileshsharma Please check out the latest version. Thank you so much for reporting the issue.
Great! Thanks.
@Dhaval2404
So, can we change an extension of a file?
Example: If an image is .png, I want to change it to .jpg after cropping or selecting.
@batadamnjanovic As of now, We can't do that in lib.