Search found 12867 matches

by snibgo
2020-03-16T19:21:38-07:00
Forum: Users
Topic: Process images to stdout immediately after they are read from stdin
Replies: 17
Views: 788

Re: Process images to stdout immediately after they are read from stdin

Oops, yes, I didn't spot that. IM can cope with hundreds of thousands of images, but not an infinite number.
by snibgo
2020-03-16T16:40:08-07:00
Forum: Users
Topic: Process images to stdout immediately after they are read from stdin
Replies: 17
Views: 788

Re: Process images to stdout immediately after they are read from stdin

I suppose you have checked that you have plenty of free space on "/tmp"?
by snibgo
2020-03-16T13:17:36-07:00
Forum: Users
Topic: Process images to stdout immediately after they are read from stdin
Replies: 17
Views: 788

Re: Process images to stdout immediately after they are read from stdin

barabanus wrote:{ for i in $(seq 10000); do convert logo: ppm:-; done } | magick mogrify -resize 50% png:- >/dev/null
Your command is bad. The "convert" writes (to the pipe) in ppm format. The "magick mogrify" tries to read png format from the pipe.
by snibgo
2020-03-16T12:34:44-07:00
Forum: Users
Topic: Process images to stdout immediately after they are read from stdin
Replies: 17
Views: 788

Re: Process images to stdout immediately after they are read from stdin

"mogrify" has a different syntax to "convert". What was your exact command? This works fine for me, on Windows 8.1: %IMG7%magick toes.png -duplicate 200 png:- | %IMG7%magick mogrify -resize 50% png:- | %IMG7%ffmpeg -f image2pipe -framerate 60 -i - movie.mp4 Looking at the console, and using "taskmgr...
by snibgo
2020-03-16T10:44:25-07:00
Forum: Users
Topic: Process images to stdout immediately after they are read from stdin
Replies: 17
Views: 788

Re: Process images to stdout immediately after they are read from stdin

barabanus wrote:Is it possible to make ImageMagick push images to STDOUT immediately after it had been read from STDIN and processed?
Yes. That's what "magick mogrify" does. Or simply "mogrify" if you use v6.
by snibgo
2020-03-16T09:49:50-07:00
Forum: Users
Topic: shaving help
Replies: 2
Views: 246

Re: shaving help

See https://www.imagemagick.org/script/command-line-options.php#shave and https://www.imagemagick.org/script/command-line-options.php#chop You need 0x50 to remove from top/bottom but not left/right. Setting like "-gravity" for operations must come before those operations, not after. "-shave" is not ...
by snibgo
2020-03-16T08:50:17-07:00
Forum: Developers
Topic: Exception : NoDecodeDelegateForThisImageFormat (MFC application)
Replies: 6
Views: 262

Re: Exception : NoDecodeDelegateForThisImageFormat (MFC application)

I suspect you haven't installed required libraries: libpng, etc. I build on Windows with Gnu tools, from the page https://www.imagemagick.org/script/inst ... hp#windows link to ImageMagick-windows.zip , and that zip contains the common libraries.
by snibgo
2020-03-16T06:34:24-07:00
Forum: Users
Topic: Clipping path when Ghostscript Installed
Replies: 8
Views: 624

Re: Clipping path when Ghostscript Installed

haukemac wrote:no decode delegate for this image format
Do the following work?

Code: Select all

magick rose: x.png
magick rose: x.jpg
magick testpic01.eps x.png
magick testpic01.eps x.jpg
by snibgo
2020-03-15T20:43:25-07:00
Forum: Users
Topic: UnableToOpenConfigureFile colors.xml and type.xml ImageMagick7.0.8-50
Replies: 4
Views: 449

Re: UnableToOpenConfigureFile colors.xml and type.xml ImageMagick7.0.8-50

I suggest that you re-install IM, and check that it no longer raises these warnings.
by snibgo
2020-03-14T21:38:27-07:00
Forum: Users
Topic: Trimming and keeping the aspect ratio
Replies: 4
Views: 450

Re: Trimming and keeping the aspect ratio

Fred's suggestion does a trim, then removes more pixels to get the desired aspect ratio.

I assumed the requirement was to remove fewer pixels than a trim would do. This is more complex, but perhaps isn't needed. @MrGcGamer: please clarify what you want.
by snibgo
2020-03-14T18:58:45-07:00
Forum: Users
Topic: Finding edges & splitting image into multiple
Replies: 2
Views: 304

Re: Finding edges & splitting image into multiple

I show some methods at Subimage rectangles.
by snibgo
2020-03-14T18:30:56-07:00
Forum: Users
Topic: Trimming and keeping the aspect ratio
Replies: 4
Views: 450

Re: Trimming and keeping the aspect ratio

IM has no single operation that does this. It can still be done: find what a trim would remove using "-format %@", then back-off the trim in whichever direction is needed to maintain the aspect ratio. This probably needs a shell script, though perhaps could be written in a (messy) single IM "magick"...
by snibgo
2020-03-14T10:28:56-07:00
Forum: Users
Topic: Captcha solving help
Replies: 2
Views: 319

Re: Captcha solving help

I won't help you (or anyone) to solve captchas.
by snibgo
2020-03-13T10:21:47-07:00
Forum: Users
Topic: Clipping path when Ghostscript Installed
Replies: 8
Views: 624

Re: Clipping path when Ghostscript Installed

Your PS file is CMYK. I suggest you tell IM to tell Ghostscript to convert it to sRGB because that also enables a transparent background, which I think you want. Also strip the profile, or you will get a CMYK profile in a sRGB image, which is a bad idea. magick -verbose -colorspace sRGB testpic01.ps...
by snibgo
2020-03-13T07:54:57-07:00
Forum: Users
Topic: Clipping path when Ghostscript Installed
Replies: 8
Views: 624

Re: Clipping path when Ghostscript Installed

You can upload to anywhere on the internet and paste the link here. But don't use an image-sharing site as these often re-format the file, eg with jpeg compression.