Search found 10684 matches

by magick
2017-10-21T08:06:53-07:00
Forum: Bugs
Topic: composite fails on /dev/fd/nn
Replies: 4
Views: 79

Re: composite fails on /dev/fd/nn

Can post a command that we can copy / paste under Bash that works. Your current command fails to grok under Bash. If we can reproduce the problem, we will attempt to patch it.
by magick
2017-10-16T17:01:10-07:00
Forum: Bugs
Topic: ImageMagick incorrectly renders text using BDF font files.
Replies: 5
Views: 412

Re: ImageMagick incorrectly renders text using BDF font files.

Thanks for the problem report. We can reproduce it and will have a fix in the near future.
by magick
2017-10-16T16:47:05-07:00
Forum: Bugs
Topic: Use after free in GetPixelInfoPixel()
Replies: 1
Views: 685

Re: Use after free in GetPixelInfoPixel()

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.
by magick
2017-10-13T13:30:34-07:00
Forum: Bugs
Topic: memory leaks
Replies: 8
Views: 1430

Re: memory leaks

We develop ImageMagick under Linux and run a memory debugger against it before a release. No memory leaks are detected. Dirk has more experience with WIndows, perhaps he will comment about your detected leaks under Windows.
by magick
2017-10-10T04:35:30-07:00
Forum: Bugs
Topic: Unable to convert a large psb file to jpeg
Replies: 2
Views: 1016

Re: Unable to convert a large psb file to jpeg

How is the image corrupt? We're using ImageMagick 7.0.7-7 and your image appeared to convert properly:

Code: Select all

convert file.psb file%d.jpg
display -resize 10% -colorspace srgb file0.jpg
by magick
2017-10-09T16:45:12-07:00
Forum: Bugs
Topic: Using "-chop" with percentages in IM 7.0.7-6
Replies: 5
Views: 1049

Re: Using "-chop" with percentages in IM 7.0.7-6

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.
by magick
2017-10-09T04:13:03-07:00
Forum: Magick++
Topic: Magick++ API working with monochome Bitmaps
Replies: 1
Views: 2619

Re: Magick++ API working with monochome Bitmaps

ImageMagick will promote a 1-bit image to the current quantum depth (8 or 16) when drawing. After drawing, you can return the image to monochrome by setting the type to BilevelType. You can access the raw data at the quantum depth (8 or 16). For monochrome, you process two values: 0 or QuantumDepth ...
by magick
2017-10-06T16:30:11-07:00
Forum: Bugs
Topic: libfpx cve fixes
Replies: 1
Views: 757

Re: libfpx cve fixes

Niclas, thanks for the patches. We applied them against libfpx and have a libfpx-1.3.9-10 release scheduled by sometime tomorrow.
by magick
2017-10-02T04:02:04-07:00
Forum: Magick++
Topic: [SOLVED] Magick++ API / OpenMP - special setup? Only one core used
Replies: 20
Views: 1966

Re: [SOLVED] Magick++ API / OpenMP - special setup? Only one core used

Calling InitializeMagick() is not mandatory. Its just best practices. Notice your module worked without calling InitializeMagick(). Without it though, you need to perform your own initialization as required, e.g. set the number of threads you require.
by magick
2017-10-01T17:51:42-07:00
Forum: Magick++
Topic: [SOLVED] Magick++ API / OpenMP - special setup? Only one core used
Replies: 20
Views: 1966

Re: Magick++ API / OpenMP - special setup? Only one core used

Proper of initialization of Magick++ requires you call InitializeMagick(). If you do, the number of threads are set to the number of cores on your system.
by magick
2017-10-01T15:38:47-07:00
Forum: Magick++
Topic: [SOLVED] Magick++ API / OpenMP - special setup? Only one core used
Replies: 20
Views: 1966

Re: Magick++ API / OpenMP - special setup? Only one core used

Add Magick::ResourceLimits::thread(4); before you call resize(). Magick++ will then thread the resize algorithm. Or apply Magick++ best practices, call InitializeMagick(*argv); That sets the number of threads equal to the number of cores on your system.
by magick
2017-10-01T09:07:09-07:00
Forum: Magick++
Topic: [SOLVED] Magick++ API / OpenMP - special setup? Only one core used
Replies: 20
Views: 1966

Re: Magick++ API / OpenMP - special setup? Only one core used

Ok, now try gdb with your Magick++ application. Does it spawn threads? If not, check the image dimensions. If its a small image, the resize will occur in 1 thread. One thread will also be used if the MAGICK_THREADS environment variable or thread security policy limits the number of threads. Another ...
by magick
2017-10-01T05:05:34-07:00
Forum: Magick++
Topic: [SOLVED] Magick++ API / OpenMP - special setup? Only one core used
Replies: 20
Views: 1966

Re: Magick++ API / OpenMP - special setup? Only one core used

Try these commands:

Code: Select all

$ gdb convert
run logo: -resize 200% null:
Does gdb report any threads created? If not, we need to check the obvious. Does `cat /proc/cpuinfo` report more than one core :-)?
by magick
2017-09-30T12:08:52-07:00
Forum: Magick++
Topic: [SOLVED] Magick++ API / OpenMP - special setup? Only one core used
Replies: 20
Views: 1966

Re: Magick++ API / OpenMP - special setup? Only one core used

Magick::Image::resize() calls the MagickCore::ResizeImage() method which is threaded. Its the same method called by the -resize command-line option. Use GDB to see if any threads are enabled. Our gdb claimed 8 threads were created for 'convert logo: -resize 200% null:'
by magick
2017-09-30T08:39:00-07:00
Forum: Magick++
Topic: [SOLVED] Magick++ API / OpenMP - special setup? Only one core used
Replies: 20
Views: 1966

Re: Magick++ API / OpenMP - special setup? Only one core used

To determine if OpenMP is enabled, OpenMP is listed as a feature: $ convert -version ... Features: Cipher DPC HDRI OpenMP Magick++ is a wrapper around the MagickCore API's. If an image processing algorithm is threaded, it is supported from Magick++, the command-line, or any other ImageMagick languag...