Skip to content

Added support for WebP #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed

Added support for WebP #85

wants to merge 9 commits into from

Conversation

rakshazi
Copy link
Contributor

@rakshazi rakshazi commented Jul 6, 2017

Required PHP>= 5.5.0 (EOL in middle 2016), current oldstable is 5.6.x.
I think, you can update requirements in composer.json

@@ -62,6 +63,10 @@ public static function createFromString($image_data)
*/
public function __construct($filename)
{
if(!defined('IMAGETYPE_WEBP')) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adityapatadia
Copy link
Contributor

Why update PHP version? It is possible to detect version and raise exception in < 5.5 version if WebP is not available. Please make such changes and I will merge.

We don't have stats for number of users of this library who is using PHP 5.3.

Christof Bachmann and others added 5 commits July 31, 2017 21:10
* Removed surpress warnings for 'getimagesize' and 'exif_read_data'
* added check whether file/stream exists and is an image
* added check whether exif data isset
* added error messages
* updated and added tests for new error handling
* added test ressource for xmp exif which can not be read by 'exif_read_data'
I made a little change to prevent bad use of quality
I made a little mistake, now quality is ok
@rakshazi
Copy link
Contributor Author

@adityapatadia done

@rakshazi
Copy link
Contributor Author

rakshazi commented Aug 7, 2017

@adityapatadia can you review this?

@adityapatadia
Copy link
Contributor

@adityapatadia
Copy link
Contributor

Also, if possible please create new PR with fresh branch. This one got stale.

@adityapatadia
Copy link
Contributor

Can you please check above? I will merge as soon as issues are resolved.

@rakshazi
Copy link
Contributor Author

rakshazi commented Sep 3, 2017 via email

@adityapatadia
Copy link
Contributor

Sure, will be waiting.

@rakshazi rakshazi mentioned this pull request Sep 5, 2017
@rakshazi
Copy link
Contributor Author

rakshazi commented Sep 5, 2017

@adityapatadia created new PR #91

@rakshazi rakshazi closed this Sep 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants