-
Notifications
You must be signed in to change notification settings - Fork 927
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
Add tutorial on how to create high-res Workflow Screenshots #4553
Add tutorial on how to create high-res Workflow Screenshots #4553
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.
I didn't ever know about the --dpr
argument, how cool. I'd just been using the button ff provides. https://blog.nightly.mozilla.org/2018/08/23/screenshots-from-the-console/ very neat
overall it's great that this is an option that will work tomorrow¹, I've added some discussion about maybe more user-friendly alternatives that I'd be interested to hear your thoughts on!
¹ whenever 23.2 is out
There are third party tools which can help us in making high resolution screenshots that preserve all details | ||
and produce pictures which are suitable for printing and sharing. | ||
|
||
{% include _includes/cyoa-choices.html option1="Print" option2="Web" default="Print" |
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.
oh, awesome!!
Co-authored-by: Helena <hexylena@galaxians.org>
Co-authored-by: Helena <hexylena@galaxians.org>
Regarding the suggestions for a more user-friendly approach: I would love to do something more integrated in the long run. I think a hidden tool, which is triggered through an option in the workflow editor (and/or workflow view) may be the best long-term approach. A problem which this poses is that currently the Workflow would need to be published for the web driver to see it. Regarding the "Print-View" button, I think it goes hand in hand with the functionality mentioned above. If the print-preview exists without a print button, it may be a bit confusing. I think this makes sense to track in a issue in the main Galaxy repo. Would you like to open one? That being said adding a tool which operates on published workflows in the mean time may be a better approach than the console tutorial (though I'm not 100% sure about this, since both have trade-offs regarding user experience). Would you still want to add this tutorial in it's current state and edit it later, or wait for such a tool to be written? I didn't know about graphicsmagick before, it looks neat! |
That makes a lot of sense! a hidden tool could definitely be a great solution there.
ah bad suggestion but one could conceive of just injecting the user's API key into said tool, like we do for ITs. I'm sure there's something more sustainable long term though, so ignore this comment :)
sure I can do that!
Yes, let's still ship this tutorial, it will be useful immediately which is already an improvement! I'll see about updating the |
i'll be honest i never understood the difference between https://stackoverflow.com/questions/862051/what-is-the-difference-between-imagemagick-and-graphicsmagick from which my takeaway is I will keep using imagemagick locally and never install that said in this case, surprisingly, it matters
|
I followed this today to make some screenshots for WorkflowHub! It worked great :) I've replaced the imagemagick section with a version following the same steps in Galaxy now that the tool is updated. I think this is ready to be merged, if it's OK for you @ElectronicBlueberry? |
i looked into whether or not we should add a "23.2 only" disclaimer, but you make that explicit, and then add a debugging step if that URL fails to work, so, I think it's fine to ship this now. |
Yes, it's ok to merge for me! |
Some steps in this tutorial require Galaxy version 23.2
Adds a tutorial on how to create high-resolution screenshots of Galaxy Workflows using external tools, and compressing said screenshots.
Feel free to review the tutorial in it's current stage. This PR is in draft-mode because Galaxy 23.2 is not yet released.