This repository was archived by the owner on Jun 9, 2019. It is now read-only.
Open
Conversation
…onstants based on frequency, should probably check if defined.
Corrections on variables names: $trnprt_indx to $transparency and $trnprt_color to $transparent_color; Problem on Color index range when using imagecolorsforindex. Added palletsize compare with $transparency value.
…ent is the compression level from 0 (no compression) to 9
Quality argument is not the same for every image* function
Conflicts: smart_resize_image.function.php
Conflicts: smart_resize_image.function.php
Conflicts: smart_resize_image.function.php
Conflicts: smart_resize_image.function.php
Conflicts: smart_resize_image.function.php
merged everything made by the others
Just added $ before the resizedFile variable in the code snippet
Update README.rdoc
Added ability to pass image as a string.
Ability to pass image as a string
The resulting image can now be set to grayscale, if needed.
New option: grayscale
Update README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for the great code, i really appreciate it. I was searching for this kind or code for a long time so i found it here.
i made a question in this website:
http://stackoverflow.com/questions/25892579/my-script-can-uploads-the-avatar-profile-image-but-cant-change-the-size-height
but i do not know how to embed it to my code can you please guide me through.
thanks and regards.