PawelGIX Posted June 14, 2019 Posted June 14, 2019 Can I convert uploaded images to PNG, GIF, BMP -> JPEG? Is there any function in the API that I can change the file type?
pwired Posted June 14, 2019 Posted June 14, 2019 I don't think Processwire api has functions for this. Try the api cheatsheet: https://cheatsheet.processwire.com/ But there are plenty of libraries out there that can call on GD and Imagick: http://image.intervention.io/
elabx Posted June 14, 2019 Posted June 14, 2019 You could try thuis module! At least with png, jpg most surely it works, not sure about bmp. 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now