Search found 17 matches
- 2017-09-11T01:37:30-07:00
- Forum: Users
- Topic: Show progress bar when using convert
- Replies: 2
- Views: 8417
Re: Show progress bar when using convert
Ok, thanks!
- 2017-09-11T00:44:29-07:00
- Forum: Users
- Topic: Show progress bar when using convert
- Replies: 2
- Views: 8417
Show progress bar when using convert
Is it possible to get the progress from IM when doing a convert?
- 2017-06-29T09:47:50-07:00
- Forum: Users
- Topic: Crop image with 4 coordinates and a specific target size
- Replies: 2
- Views: 7464
Re: Crop image with 4 coordinates and a specific target size
This command seems to work.
Is this the correct way of doing this with the result I want?
This is the result:
Code: Select all
convert http://imagga.com/static/images/tagging/wind-farm-538576_640.jpg -resize 500x300^ +repage -crop 500x300+0+0 +repage out.jpg
This is the result:
- 2017-06-29T09:30:45-07:00
- Forum: Users
- Topic: Crop image with 4 coordinates and a specific target size
- Replies: 2
- Views: 7464
Crop image with 4 coordinates and a specific target size
I have this image: https://imagga.com/static/images/tagging/wind-farm-538576_640.jpg which I want to crop a size of 500x300. The width and height is the target size after the crop has been applied. The coordinates I want to crop the image with size 100x100 by is 0,0 (top,left) and 639, 384 (bottom ...
- 2017-06-29T01:57:28-07:00
- Forum: Users
- Topic: Smart crop function in IM?
- Replies: 59
- Views: 65832
Re: Smart crop function in IM?
I see. So I guess I need to look for a third party service do analyze the image so I know the coordinates for the best crop result.
- 2017-06-28T23:31:11-07:00
- Forum: Users
- Topic: Smart crop function in IM?
- Replies: 59
- Views: 65832
Smart crop function in IM?
I use IM to generate a bunch of thumbnails of different sizes and formats. Does IM have a function for smart crop like https://imagga.com/solutions/cropping-api.html ? If not, have any of you used any third party library for this?
- 2017-06-28T23:27:18-07:00
- Forum: Users
- Topic: convert image to two different sizes and pipe to stdout?
- Replies: 16
- Views: 14612
Re: convert image to two different sizes and pipe to stdout?
But I guess that write cannot write to stdout so I get each image streamed by them selfs?
- 2017-06-22T14:35:00-07:00
- Forum: Users
- Topic: convert image to two different sizes and pipe to stdout?
- Replies: 16
- Views: 14612
Re: convert image to two different sizes and pipe to stdout?
Ok,but I guess different quality per image/page is not possible?
Also, is this the only way to achieve saving two images from a single invocation?
Also, is this the only way to achieve saving two images from a single invocation?
- 2017-06-22T10:38:52-07:00
- Forum: Users
- Topic: convert image to two different sizes and pipe to stdout?
- Replies: 16
- Views: 14612
Re: convert image to two different sizes and pipe to stdout?
It is my own code that reads the stdout from IM so I can do pretty much what I want. The problem with the JPG output, as you said is where to split the file. TIFF seems to be a different story and I should be able to read one "page" at the time and save both images. Can I still use the some modifers ...
- 2017-06-22T05:17:13-07:00
- Forum: Users
- Topic: convert image to two different sizes and pipe to stdout?
- Replies: 16
- Views: 14612
Re: convert image to two different sizes and pipe to stdout?
I use this command: docker run imagemagick convert http://camendesign.com/code/video_for_everybody/poster.jpg \( -clone 0 -resize 400x400 -write JPG:- +delete \) \( -clone 0 -resize 80x80 -write JPG:- \) - I don't know if I need the last pipe but I guess so. If I change it to docker run imagemagick ...
- 2017-06-21T23:26:07-07:00
- Forum: Users
- Topic: convert image to two different sizes and pipe to stdout?
- Replies: 16
- Views: 14612
Re: convert image to two different sizes and pipe to stdout?
It seems like the stream does not contain two images, it seems like the part to the right of | runs twice or something? How can I make sure that both images outputs to stdout and how can I catch them?
- 2017-06-21T13:42:03-07:00
- Forum: Users
- Topic: convert image to two different sizes and pipe to stdout?
- Replies: 16
- Views: 14612
Re: convert image to two different sizes and pipe to stdout?
The platform I'm using is Linux but my code is written in c# (dotnet core). The output format I want is JPG for both images. How can I identify from the stdout where the first image ends end the second image starts? This is the output from IM saved in a text file: https://d26dzxoao6i3hh.cloudfront ...
- 2017-06-21T11:28:26-07:00
- Forum: Users
- Topic: convert image to two different sizes and pipe to stdout?
- Replies: 16
- Views: 14612
Re: convert image to two different sizes and pipe to stdout?
I'm using IM running in a Docker container: Version: ImageMagick 7.0.5-10 Q16 x86_64 2017-06-05 http://www.imagemagick.org Copyright: © 1999-2017 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher HDRI Modules Delegates (built-in): fontconfig freetype ...
- 2017-06-21T11:10:13-07:00
- Forum: Users
- Topic: convert image to two different sizes and pipe to stdout?
- Replies: 16
- Views: 14612
convert image to two different sizes and pipe to stdout?
Is it possible to resize an image to two different sizes, let's say one thumbnail and one large image then pipe them both to stdout? If so, how can I do that?
- 2017-06-18T10:15:52-07:00
- Forum: Users
- Topic: convert pdf generates corrupt image
- Replies: 4
- Views: 4806
Re: convert pdf generates corrupt image
It seems like jpeg:- works if I want to output the image to stdout. Is it the recommended way to it?