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

imageflow_tool v1/querystring imlement print to stdout #622

Open
bes-internal opened this issue Feb 8, 2023 · 3 comments
Open

imageflow_tool v1/querystring imlement print to stdout #622

bes-internal opened this issue Feb 8, 2023 · 3 comments

Comments

@bes-internal
Copy link

Please implement image result output to stdout as imageflow_tool v1/querystring --out -

@lilith
Copy link
Member

lilith commented Feb 8, 2023

Could you share more about the usage context? Would you want to discard the JSON response?

@bes-internal
Copy link
Author

bes-internal commented Feb 8, 2023

All commands in the console must be able to compose a pipeline. For example, for quick testing, you can use such a line or third-party tools without saving the file to disk:

$ magick convert -quality 88 -resize 300x\> orig.jpg jpeg:-  |identify -
-=>/tmp/magick-UfYyZkLBjE88ypgjwY-e9VJuxFTeS19r JPEG 300x421 300x421+0+0 8-bit sRGB 58503B 0.000u 0:00.000

(write to std and read from std)

If --out - is specified then JSON is suppressed and --response should be used.

@lilith
Copy link
Member

lilith commented Feb 8, 2023

Okay, I'll plan to implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants