PHP Classes

Recommendation for a PHP class to convert jpeg to webp: How to resize a jpg an convert the same in a .webp file

Recommend this page to a friend!
  All requests RSS feed  >  Recommendation for a PHP class to con...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Recommendation for a PHP class to convert jpeg to webp

Edit

Picture of cristian osinaga by cristian osinaga - 5 years ago (2020-03-30)

How to resize a jpg an convert the same in a .webp file

This request is clear and relevant.
This request is not clear or is not relevant.

+3

I need resize a image .gif or .jpg and at same time to convert the image in a .webp image format.

Ask clarification

1 Recommendation

class.upload.php: Process files and images uploaded via a form

It is the ideal class to quickly integrate file upload and image manipulation in your site. That's all you need for a gallery script for instance.

It manages the uploaded file and allows you to do whatever you want with the file as many times as you want. If the file is an image, you can convert and resize it, rotate it, crop it in many ways; You can also add borders, frames, bevels, add of text labels and watermarks or apply graphic filters such as unsharp mask, contrast or brightness correction, colorization, negative, greyscale, reflections and more. Transparency and true color are fully supported. JPEG, PNG, GIF and BMP are supported.

Security features and file management functions are provided. Flash uploaders are supported. The class can also work on local files, useful for batch processing, and can circumvent open_basedir restrictions. Files can be output directly to the browser. The error messages are internationalized, and translations provided. Flash uploaders and XMLHttpRequest uploads are supported.

The class is mature and well documented, already widely used around the world. It is compatible with PHP 4, 5 and 7.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 5 years ago (2020-03-31) Comment

You may want to try this class that does precisely what you ask and a few more things.


Recommend package
: 
: