Hi,
I've updated IM from 6.6.6 to 6.7.1. After that I tried to modify policy.xml file but didn't find it.
The old one was located at "/usr/local/lib/ImageMagick-6.6.6/config" but there is no "config" folder at "/usr/local/lib/ImageMagick-6.7.1/config" at all.
I copied old "config" folder to "/usr/local/lib/ImageMagick-6.7.1" folder but don't know if it's okay. At least configure.xml has an old data about IM version, etc.
Where I can find policy.xml for IM 6.7.1? Or it's okay to copy the old config files from 6.6.6 to 6.7.1 folder?
Thanks for help and advices.
Greg.
config location
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: config location
try this:
find /usr | grep "policy.xml"
/usr/local/etc/ImageMagick/policy.xml
/usr/local/share/doc/ImageMagick-6.7.1/www/source/policy.xml
find /usr | grep "policy.xml"
/usr/local/etc/ImageMagick/policy.xml
/usr/local/share/doc/ImageMagick-6.7.1/www/source/policy.xml
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: config location
Due to requirements by Ubuntu package management, specifically where things should be placed in the filesystem, many 'system dependant' configuration files was moved to /etc instead of /usr/lib.
For example
/etc/ImageMagick/type.xml
/etc/ImageMagick/delegates.xml
/etc/ImageMagick/colors.xml
You can however still add to these configuration files by creating your own in your personal ".magick" sub-directory of your home. I do this all the time for the font "type.xml" file and even the "delegate.xml"
file.
See my font type generation script
http://www.imagemagick.org/Usage/script ... k_type_gen
which has includes some notes about creating a personal "type.xml" file
For example
/etc/ImageMagick/type.xml
/etc/ImageMagick/delegates.xml
/etc/ImageMagick/colors.xml
You can however still add to these configuration files by creating your own in your personal ".magick" sub-directory of your home. I do this all the time for the font "type.xml" file and even the "delegate.xml"
file.
See my font type generation script
http://www.imagemagick.org/Usage/script ... k_type_gen
which has includes some notes about creating a personal "type.xml" file
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/