Search found 20 matches

by roelandsch
2017-03-13T12:41:32-07:00
Forum: Bugs
Topic: svg loading ignores -density
Replies: 17
Views: 17586

Re: svg loading ignores -density

“I don't fully understand the relationship between these methods.” Me neither, and there's some pretty weird examples on MDN (eg. width="150", height="100", viewbox="0 0 3 2"). RSVG loads that one as 150×100. Anyway for now I can solve my problem by using inches. Thanks for looking into this.
by roelandsch
2017-03-12T21:27:51-07:00
Forum: Bugs
Topic: svg loading ignores -density
Replies: 17
Views: 17586

Re: svg loading ignores -density

I can confirm that this still works if you specify the width and height in length units. So as a workaround I can specify inches as size, assuming 90 px/inch. I don't think specifying the size (or other content) in pixels is an error though. Examples on MDN specify sizes in pixels [1]. Inkscape will ...
by roelandsch
2017-03-12T17:33:51-07:00
Forum: Bugs
Topic: svg loading ignores -density
Replies: 17
Views: 17586

Re: svg loading ignores -density

RSVG is one of the built-in coders, it's installed with ImageMagick. My guess is that it's embedded in IM_MOD_RL_svg_.dll . How would I call this directly? Right now on this PC this is working with version 6.9.3-3 and not working with version 6.9.8-0, so it would be a regression somewhere between ...
by roelandsch
2017-03-12T15:19:09-07:00
Forum: Bugs
Topic: svg loading ignores -density
Replies: 17
Views: 17586

Re: svg loading ignores -density

I still have to find the original issue though. Some more tests on this other PC: >convert -verbose -density 300 test.svg test.png test.svg SVG 333x333 333x333+0+0 16-bit sRGB 202B 0.016u 0:00.006 test.svg=>test.png SVG 333x333 333x333+0+0 16-bit sRGB 193c 7.86KB 0.031u 0:00.014 Note the resolutions ...
by roelandsch
2017-03-10T19:40:46-07:00
Forum: Bugs
Topic: svg loading ignores -density
Replies: 17
Views: 17586

Re: svg loading ignores -density

Just tested that, Inkscape responds to the DPI argument. I have v0.91 as well. Given this command line the PNG file will be half the size: >inkscape.exe test.svg --export-dpi="45,45" --export-png=test.png But ImageMagick is calling inkscape with the --export-eps option rather than the --export-png ...
by roelandsch
2017-03-09T12:14:07-07:00
Forum: Bugs
Topic: svg loading ignores -density
Replies: 17
Views: 17586

Re: svg loading ignores -density

That's not the case here: >convert -density 300 -verbose test.svg test.png test.svg SVG 100x100 100x100+0+0 16-bit sRGB 229B 0.016u 0:00.022 test.svg=>test.png SVG 100x100 100x100+0+0 8-bit sRGB 100c 1.68KB 0.016u 0:00.030 I can enable Inkscape in the delegates.xml file: >convert -density 300 ...
by roelandsch
2017-03-09T02:08:59-07:00
Forum: Bugs
Topic: svg loading ignores -density
Replies: 17
Views: 17586

svg loading ignores -density

Hi, I'm trying to convert a SVG file to PNG or JPG, but I'm trying to load with a different resolution than the default. test.svg <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg width="100" height="100"> <circle r="29" cy="38" cx="36" style="opacity:.5" /> <circle r="29" cy="63" cx="66 ...
by roelandsch
2015-09-20T23:29:04-07:00
Forum: Bugs
Topic: Python can't register CORE_RL_wand_.dll
Replies: 5
Views: 7588

Re: Python can't register CORE_RL_wand_.dll

Well, I partially figured this out. You have to change the working directory to the ImageMagick installation directory. And more annoyingly, if your python script changes the working directory afterwards, then some images will fail to load because the coder DLL can't be loaded. I verified MAGICK ...
by roelandsch
2015-09-17T16:51:00-07:00
Forum: Bugs
Topic: Python can't register CORE_RL_wand_.dll
Replies: 5
Views: 7588

Re: Python can't register CORE_RL_wand_.dll

I rebooted, but no change. Anyway thanks for taking the time to help me out. Here are my current observations: Python still can't load any of the DLLs convert.exe and other binaries run fine I can compile and run an example from http://www.imagemagick.org/script/magick-wand.php (which just link to ...
by roelandsch
2015-09-16T22:32:22-07:00
Forum: Bugs
Topic: Python can't register CORE_RL_wand_.dll
Replies: 5
Views: 7588

Re: Python can't register CORE_RL_wand_.dll

No I didn't have the Visual C++ 2013 Redistributable installed, but installing it didn't make a difference.

Note that:
  • msvcp120.dll is included in the installation
  • ImageMagick itself (convert, etc) runs fine without having the Visual C++ 2013 Redistributable Package installed.
by roelandsch
2015-09-15T18:55:15-07:00
Forum: Bugs
Topic: Python can't register CORE_RL_wand_.dll
Replies: 5
Views: 7588

Python can't register CORE_RL_wand_.dll

I tried to use Wand via Python and it fails to load the module: Traceback (most recent call last): File "C:\Program Files\Python 3.5\lib\site-packages\wand\api.py", line 150, in <module> libraries = load_library() File "C:\Program Files\Python 3.5\lib\site-packages\wand\api.py", line 107, in load ...
by roelandsch
2015-06-08T22:27:38-07:00
Forum: Developers
Topic: [patch] Support writing EXR files with different color types
Replies: 2
Views: 5930

Re: [patch] Support writing EXR files with different color types

OK, so this is the list of color types supported. I'm not sure how to put this in the documentation. RGB: RGB colors RGBA: RGB with alpha channel YC: Write a brightness channel (Y) and two chromaticy channels, defined as R/Y and B/Y. The two chromaticy channels are subsampled by a factor 2x2. This ...
by roelandsch
2015-06-03T22:50:12-07:00
Forum: Developers
Topic: [patch] Support writing EXR files with different color types
Replies: 2
Views: 5930

[patch] Support writing EXR files with different color types

EXR allows writing files using 2x2 color subsampling (aka 4:2:0). You can find a reference to this on the old release notes at http://www.openexr.com/: OpenEXR now supports high dynamic-range YCA (luminance/chroma/alpha) images with subsampled chroma channels. These files are supported via the RGBA ...
by roelandsch
2015-06-03T22:11:08-07:00
Forum: Developers
Topic: Missing files in Windows source distribution
Replies: 0
Views: 5081

Missing files in Windows source distribution

Hi, I just downloaded http://www.imagemagick.org/download/windows/ImageMagick-windows.zip (version 6.9.1-4), and proceeded with the instructions at http://www.imagemagick.org/script/advanced-windows-installation.php to create an installer. I had all checkboxes on the wizard enabled, and I'm using ...
by roelandsch
2015-06-03T21:03:03-07:00
Forum: Developers
Topic: How to Build ImageMagick-6.8.8 or ImageMagick-6.9.1 sources on Visual Studio 2012
Replies: 1
Views: 4185

Re: How to Build ImageMagick-6.8.8 or ImageMagick-6.9.1 sources on Visual Studio 2012

When I compiled ImageMagick 6.9.0 there were also two scripts, called UpgradeToVS2010.cmd and UpgradeToVS2012.cmd . I had to run the correct one before opening the solution file or it wouldn't work. In version 6.9.1 the Configure Wizard has a dropdown to select the version of Visual Studio to use ...