Is there any way to switch on, or a function that will expand % escapes in the Magick Core. They do not work in the PreviewImage() function the caption on the centre image shows them as literal text. I would also like them to be available in MontageImageList() or when assigning a Label to an Image.
Alan
% escapes in API's
-
- Posts: 48
- Joined: 2010-03-31T12:17:55-07:00
- Authentication code: 8675308
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: % escapes in API's
Sorry I know little about APIs. But I think more information would be helpful. What version of IM? What platform? What is the command you are trying to use. % escapes likely only work in IM 7 with -format, -set, -define or with -distort. see
http://www.imagemagick.org/script/escape.php
http://www.imagemagick.org/Usage/basics/#arg_percent
http://www.imagemagick.org/Usage/distor ... ol_escapes
http://www.imagemagick.org/Usage/basics/#set
In IM 7, it is anticipated that they will be more globally allowed.
http://www.imagemagick.org/script/escape.php
http://www.imagemagick.org/Usage/basics/#arg_percent
http://www.imagemagick.org/Usage/distor ... ol_escapes
http://www.imagemagick.org/Usage/basics/#set
In IM 7, it is anticipated that they will be more globally allowed.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: % escapes in API's
Only more globally in the sheel and scripting API's.
Basically other API's should have access to the appropriate function.
In MagickCore the function to expand percent escapes is InterpretImageProperties(...). In IMv6 this has to include a specific image.
Basically other API's should have access to the appropriate function.
In MagickCore the function to expand percent escapes is InterpretImageProperties(...). In IMv6 this has to include a specific image.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/