Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Jun 23, 2014

Hi,

This is a pull request for changes I've made to your library for issues that have arisen while using it.

It should be fully backwards compatible.

See commit logs for changes.

Basically better cropping, and keeping the source image and dimensions while doing resize operations, so chaining them will result in as little loss of image information as possible.

It might be a good idea to tag your current state as 1.0.0 and if you accept this PR, tag it as 1.1.0. This would be really helpful when using Composer.

Please let me know if you have any queries.

Thanks for the simple but very useful class.

Mitch added 10 commits June 22, 2014 14:20
- allows non-destructive chaining of operations
- move actual image manipulation to output()/save() so we can handle transparency better
- this allows changing between image types to work properly
- output header when rendering image directly in browser
- fix crop() method
@adityapatadia
Copy link
Contributor

Hi, it is great improvement. I am going to merge it. It would also be great if you can write some PHPUnit test for this library.

@adityapatadia
Copy link
Contributor

I am also going to tag it as v1.0.0 and v1.1.0 so it would be great if you can send PR for updated read me.

adityapatadia added a commit that referenced this pull request Jun 25, 2014
Better crop, cleaner chaining
@adityapatadia adityapatadia merged commit 645b1ce into gumlet:master Jun 25, 2014
@ghost
Copy link
Author

ghost commented Jun 25, 2014

No problem, see #5.

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.

1 participant