Search found 11215 matches

by magick
2020-03-26T19:02:20-07:00
Forum: MagickWand
Topic: problem during executing MagickWand resize method parallel (MultiThread)
Replies: 32
Views: 1524

Re: problem during executing MagickWand resize method parallel (MultiThread)

Killed likely means you are exceeding the memory limits of the Java program or process. Try limiting memory with a MagickCore method or with an environment variable. See MAGICK_MEMORY_LIMIT @ https://imagemagick.org/www/script/reso ... nvironment.
by magick
2020-03-26T18:59:18-07:00
Forum: Bugs
Topic: potential bug -resize IM 6.9.11.2 and IM 7.0.10.2 Q16 Mac OSX Sierra
Replies: 9
Views: 293

Re: potential bug -resize IM 6.9.11.2 and IM 7.0.10.2 Q16 Mac OSX Sierra

Note sure why it works for us and not for you. Changing transparent pixels to rgba(0,0,0,0) aka "none" has been what we've done for years per discussions with Anthony way way back. It is the correct behavior when blending a fully transparent pixel and extends to all algorithms in ImageMagick that bl...
by magick
2020-03-26T16:46:51-07:00
Forum: Bugs
Topic: potential bug -resize IM 6.9.11.2 and IM 7.0.10.2 Q16 Mac OSX Sierra
Replies: 9
Views: 293

Re: potential bug -resize IM 6.9.11.2 and IM 7.0.10.2 Q16 Mac OSX Sierra

You are getting expected results as a fully transparent color is sRGB(0,0,0,0). What we think you want is to treat the alpha channel independently rather than blending, for that try -channel sync for IMv7: $ convert in.png -resize 50% txt: | grep ^24,186 24,186: (0,0,0,0) #00000000 none $ convert in...
by magick
2020-03-21T05:46:49-07:00
Forum: Users
Topic: Extract Clipping Image
Replies: 16
Views: 900

Re: Extract Clipping Image

See if the problem is inkscape. Try these commands: magick identify -quiet -format "%[8BIM:1999,2998:#1]" 1584707760age.jpg > test.svg inkscape test.svg --export-file='test.png' --export-dpi=96 --export-background='rgb(100%,100%,100%)' --export-background-opacity=1 > test.log Note, if your inkscape ...
by magick
2020-03-20T16:24:06-07:00
Forum: Users
Topic: Extract Clipping Image
Replies: 16
Views: 900

Re: Extract Clipping Image

Your command works runs to completion without complaint on our Mac OSX Powerbook with the latest OS and XCode release installed. We tried the latest releases of ImageMagick version 6 & 7.
by magick
2020-03-20T15:31:02-07:00
Forum: Users
Topic: Extract Clipping Image
Replies: 16
Views: 900

Re: Extract Clipping Image

Its possible Mac OSX is killing your process because its using too much memory. Try this command instead:

Code: Select all

convert -limit area 2MiB 1584707760age.jpg -alpha transparent -clip -alpha opaque -strip 1584707760age_clip.png
by magick
2020-03-20T08:13:44-07:00
Forum: Users
Topic: Process images to stdout immediately after they are read from stdin
Replies: 17
Views: 976

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

ImageMagick is a robust image processing package that handles a plethora of image formats and tasks. See https://imagemagick.org/script/architecture.php for details. In consideration of handling a wide variety of requirements, compromises have been made and as such we do not support all use cases-- ...
by magick
2020-03-20T08:05:59-07:00
Forum: MagickWand
Topic: problem during executing MagickWand resize method parallel (MultiThread)
Replies: 32
Views: 1524

Re: problem during executing MagickWand resize method parallel (MultiThread)

Recommended practices is to call MagickWandGenesis() before you fire off any threads. Once the threads complete, call MagickWandTerminus(). ImageMagick is designed to run properly if Genesis()/Terminus() is not called, but its not recommended practice.
by magick
2020-03-20T03:35:13-07:00
Forum: MagickWand
Topic: problem during executing MagickWand resize method parallel (MultiThread)
Replies: 32
Views: 1524

Re: problem during executing MagickWand resize method parallel (MultiThread)

All calls to MagickWand, except MagickWandGenesis()/MagickWandTerminus() are thread safe. This is a standard pattern in programming:
  1. Initialize the environment
  2. spawn multiple threads
  3. wait for the threads to reap
  4. terminate the environment.
by magick
2020-03-19T17:18:27-07:00
Forum: MagickWand
Topic: problem during executing MagickWand resize method parallel (MultiThread)
Replies: 32
Views: 1524

Re: problem during executing MagickWand resize method parallel (MultiThread)

Comment out MagickWandTerminus() in resize.c. Your program will complete without complaint. Do not call MagickWandTerminus() while threads are active. Wait until all threads have completed before you call MagickWandTerminus().
by magick
2020-03-18T16:46:02-07:00
Forum: Users
Topic: Process images to stdout immediately after they are read from stdin
Replies: 17
Views: 976

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

Your use case cannot be supported. Many image types permit multiple frames per image file (e.g. MIFF). For these coders, stdin is read indefinitely until an EOF is detected or an exception is thrown. Other image types only permit one image. For these coders, one image is read and the command moves t...
by magick
2020-03-18T14:21:49-07:00
Forum: MagickWand
Topic: problem during executing MagickWand resize method parallel (MultiThread)
Replies: 32
Views: 1524

Re: problem during executing MagickWand resize method parallel (MultiThread)

Your response does not help us reproduce the problem. We would require the C program, the Java program, and dependent image/data files, plus steps to reproduce. Once we can reproduce the problem, we can trace execution to determine if the problem is within ImageMagick or your Java program. Unless it...
by magick
2020-03-18T04:48:14-07:00
Forum: MagickWand
Topic: problem during executing MagickWand resize method parallel (MultiThread)
Replies: 32
Views: 1524

Re: problem during executing MagickWand resize method parallel (MultiThread)

We need to reproduce the problem before we can offer any assistance. Detail the steps required to build and run your Java script.
by magick
2020-03-17T13:55:57-07:00
Forum: Users
Topic: Process images to stdout immediately after they are read from stdin
Replies: 17
Views: 976

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

Try `convert ppm:- -resize 50% ppm:-`. Does that make a difference?
by magick
2020-03-16T18:48:25-07:00
Forum: Users
Topic: Process images to stdout immediately after they are read from stdin
Replies: 17
Views: 976

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

Your command is flawed. The mogrify scripts reads the MIFF images indefinitely. It won't move to the -resize until it gets an EOF. As it continually reads the images pushed from the convert command, it continues to consume resources until your host throws an exception (such as out of space). As your...