Skip to content
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

Overlay module offset parameter doesn't work #465

Closed
jywarren opened this issue Nov 11, 2018 · 7 comments
Closed

Overlay module offset parameter doesn't work #465

jywarren opened this issue Nov 11, 2018 · 7 comments
Labels
bug has-pull-request Issues which have a PR open

Comments

@jywarren
Copy link
Member

The Overlay module has a parameter called "offset" which lets you set which step is overlaid onto. But it doesn't seem to work:

See it malfunctioning here in the final step:

http://sequencer.publiclab.org/examples/#steps=crop{x:0|y:0|w:611|h:479},gradient{},colormap{colormap:stretched},crop{x:0|y:0|w:611|h:60},resize{resize:25%25},overlay{x:5|y:5|offset:-5}

Compare to:

http://sequencer.publiclab.org/examples/#steps=crop{x:0|y:0|w:611|h:479},gradient{},colormap{colormap:stretched},crop{x:0|y:0|w:611|h:60},resize{resize:25%25},overlay{x:5|y:5|offset:-3}

It always seems to source the same image!

The code for the Overlay module is here: https://github.com/publiclab/image-sequencer/tree/master/src/modules/Overlay

@jywarren jywarren transferred this issue from publiclab/plots2 Nov 11, 2018
@gitmate gitmate bot added the module New Module idea label Nov 11, 2018
@jywarren
Copy link
Member Author

This has been marked as a good candidate for becoming a first-timers-only issue like these, meaning that it's simple, self-contained, and with some extra formatting, could be a great entry point for a new contributor. If you're familiar enough with this code, please consider reformatting or reposting it as a first-timers-only issue, and then ping @publiclab/reviewers to get it labelled. Or, if this is not your first time, try to solve it yourself!


@gitmate
Copy link

gitmate bot commented Nov 11, 2018

GitMate.io thinks possibly related issues are #213 (Crop Module not working correctly), #116 (Image overlay module), #430 (Colorbar overlay module with more advanced design), #421 (configurable parameters for blend module image number), and #188 (Add a list of working modules and their parameters in the documentation).

1 similar comment
@gitmate
Copy link

gitmate bot commented Nov 11, 2018

GitMate.io thinks possibly related issues are #213 (Crop Module not working correctly), #116 (Image overlay module), #430 (Colorbar overlay module with more advanced design), #421 (configurable parameters for blend module image number), and #188 (Add a list of working modules and their parameters in the documentation).

@keshav234156
Copy link
Member

keshav234156 commented Aug 28, 2019

@jywarren made some cahnges.
Screenshot from 2019-08-28 22-20-37
Screenshot from 2019-08-28 22-20-53
Screenshot from 2019-08-28 22-21-00
Screenshot from 2019-08-28 22-21-05

Is this the expexted behaviour?

@jywarren
Copy link
Member Author

Yes! It is! Wow, great work! Do you have a PR open for this? Thank you!

@keshav234156
Copy link
Member

keshav234156 commented Aug 29, 2019

@jywarren it's also working fine with the beta version.I think that this issue has been fixed with #1082 .
So we could now close this issue

@keshav234156
Copy link
Member

@jywarren @harshkhandeparkar can you please close this issue as it's already fixed in #1082 and is working as expected in beta version .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug has-pull-request Issues which have a PR open
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants