Jump to content

Convert png images to jpg


Recommended Posts

That conversion function is not in the PW API (SEE http://processwire.com/apigen/class-ImageSizer.html),  but PW does use GD.  GD has functions that can do this. So you can accomplish what you want.  

See imagecreatefrompng

http://php.net/manual/en/book.image.php

Take a look at this http://stackoverflow.com/questions/1201798/use-php-to-convert-png-to-jpg-with-compression

  • Like 1
Link to post
Share on other sites
  • 1 year later...
  • 6 years later...
Posted (edited)

PNG to JPG conversion is quite easy and you can do it easily online by PNG to JPG Converter

Edited by Macrura
External link removed. Not relevant to this topic, as uses external service.
Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...