-
Notifications
You must be signed in to change notification settings - Fork 210
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
Ability to set background color when "over cropping" to enlarge canvas #563
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks very promising!! Can you post a screenshot using some other color too!! One more thing don't you think we should change the text in the demo, it's kind of vague. Maybe it can say Background Color (Four space separated RGBA values)
what say?
Yes, I agree I will make the changes. Thanks! |
Oh this is great. I'd like to propose a follow-up where we use hexadecimal
colors in format #000000 or (for alpha) #00000000-- do you think you could
open an issue for this and the flood-fill to follow that convention?
Perhaps we need to install something in /src/util/ to convert from hex to
discrete RGBA values?
Otherwise this looks lovely!!!
…On Thu, Jan 3, 2019 at 7:40 AM Mridul97 ***@***.***> wrote:
@jywarren <https://github.com/jywarren> @tech4GT
<https://github.com/tech4GT> Please review this!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#563 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ_U1mY7Bobzow5dloM5gMAGYAxj7ks5u_fo5gaJpZM4ZjFpf>
.
|
@jywarren I have rebased the branch. The idea sounds amazing to give an option of hexadecimal colors format as input! Thanks! |
My apologies, i merged another which now conflicts, would you mind rebasing one more time? Thank you! |
@jywarren I have rebased the branch. Please have a look! 😄 |
* updated drop down * fixed greyscale (#593) * add local to locally stored modules (#596) * Add drawing rectangles module (#566) * add drawing rectangle module * changes * White balance module (#585) * white baalance module * improved algorithm * limit check * Ability to set background color when "over cropping" to enlarge canvas (#563) * ability to set background color when over cropping to enlarge canvas * changes * Clarify that saved sequence will only be available in this browser (#587) * clarify that saved sequence will only be available in this browser * changes * changes * changes * Added a function to sequencer and then made the functionality available to crop and overlay module. (#592) * Add manifest.json and cache static assets for offline use (#331) * Add manifest.json * cache static assets for offline use * update cache * add meta theme-color and change static files to be cache * cache the files on network request * caching on first run Signed-off-by: tech4GT <varun.gupta1798@gmail.com> * add a button to clear cache * add styling to clear cache link * Update Modules.js (#452) I've arranged the modules in alphabetical order. * Added a function to parse Input coordinates and added the functionality for crop and overlay modules * Added changed dist files * Revert "Added changed dist files" This reverts commit dbda25a. * Changed function name and added the functionaity to src/utils folder * Added unit test * Added unit test to /test/util * Add border thickness and color in DrawRectangle module (#602) * added border thickness functionality * add color functionality
* fixed fastie * fixed greyscale (#593) * add local to locally stored modules (#596) * Add drawing rectangles module (#566) * add drawing rectangle module * changes * White balance module (#585) * white baalance module * improved algorithm * limit check * Ability to set background color when "over cropping" to enlarge canvas (#563) * ability to set background color when over cropping to enlarge canvas * changes * Clarify that saved sequence will only be available in this browser (#587) * clarify that saved sequence will only be available in this browser * changes * changes * changes * Added a function to sequencer and then made the functionality available to crop and overlay module. (#592) * Add manifest.json and cache static assets for offline use (#331) * Add manifest.json * cache static assets for offline use * update cache * add meta theme-color and change static files to be cache * cache the files on network request * caching on first run Signed-off-by: tech4GT <varun.gupta1798@gmail.com> * add a button to clear cache * add styling to clear cache link * Update Modules.js (#452) I've arranged the modules in alphabetical order. * Added a function to parse Input coordinates and added the functionality for crop and overlay modules * Added changed dist files * Revert "Added changed dist files" This reverts commit dbda25a. * Changed function name and added the functionaity to src/utils folder * Added unit test * Added unit test to /test/util * Add border thickness and color in DrawRectangle module (#602) * added border thickness functionality * add color functionality * Bump tape from 4.9.1 to 4.9.2 (#579) Bumps [tape](https://github.com/substack/tape) from 4.9.1 to 4.9.2. - [Release notes](https://github.com/substack/tape/releases) - [Commits](tape-testing/tape@v4.9.1...v4.9.2) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump looks-same from 4.1.0 to 5.0.1 (#559) Bumps [looks-same](https://github.com/gemini-testing/looks-same) from 4.1.0 to 5.0.1. - [Release notes](https://github.com/gemini-testing/looks-same/releases) - [Changelog](https://github.com/gemini-testing/looks-same/blob/master/CHANGELOG.md) - [Commits](gemini-testing/looks-same@v4.1.0...v5.0.1) Signed-off-by: dependabot[bot] <support@dependabot.com> * Bump jsqr from 0.2.2 to 1.1.1 (#532) Bumps [jsqr](https://github.com/cozmo/jsQR) from 0.2.2 to 1.1.1. - [Release notes](https://github.com/cozmo/jsQR/releases) - [Commits](https://github.com/cozmo/jsQR/commits) Signed-off-by: dependabot[bot] <support@dependabot.com> * Update color drop down (#595) * updated drop down * fixed greyscale (#593) * add local to locally stored modules (#596) * Add drawing rectangles module (#566) * add drawing rectangle module * changes * White balance module (#585) * white baalance module * improved algorithm * limit check * Ability to set background color when "over cropping" to enlarge canvas (#563) * ability to set background color when over cropping to enlarge canvas * changes * Clarify that saved sequence will only be available in this browser (#587) * clarify that saved sequence will only be available in this browser * changes * changes * changes * Added a function to sequencer and then made the functionality available to crop and overlay module. (#592) * Add manifest.json and cache static assets for offline use (#331) * Add manifest.json * cache static assets for offline use * update cache * add meta theme-color and change static files to be cache * cache the files on network request * caching on first run Signed-off-by: tech4GT <varun.gupta1798@gmail.com> * add a button to clear cache * add styling to clear cache link * Update Modules.js (#452) I've arranged the modules in alphabetical order. * Added a function to parse Input coordinates and added the functionality for crop and overlay modules * Added changed dist files * Revert "Added changed dist files" This reverts commit dbda25a. * Changed function name and added the functionaity to src/utils folder * Added unit test * Added unit test to /test/util * Add border thickness and color in DrawRectangle module (#602) * added border thickness functionality * add color functionality * rebuild
Fixes #467
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!