FYI, the support for the "magick" command in the COM+ Object is planned to be added in the next release of ImageMagick, as I suggested it in this ticket :
https://github.com/ImageMagick/ImageMagick/issues/1083
Search found 49 matches
- 2018-04-07T00:19:26-07:00
- Forum: Users
- Topic: How to use image -format / info: in same command-line ?
- Replies: 6
- Views: 8967
- 2018-04-06T21:00:17-07:00
- Forum: Users
- Topic: how to count unique colors in image ?
- Replies: 18
- Views: 52812
Re: how to count unique colors in image ?
Very Useful Snibgo, and %[opaque] is recognized by IM 7.0.7-28
- 2018-04-02T12:17:48-07:00
- Forum: Users
- Topic: How to use image -format / info: in same command-line ?
- Replies: 6
- Views: 8967
Re: How to use image -format / info: in same command-line ?
Yes Snibgo, I am currently using VBScript to evaluate expressions, but between several IM command-lines.
In some cases, I could gain speed and improve performance by letting IM do simple computing in dynamic variables (such as for exemple dividing a number, or substracting ...)
In some cases, I could gain speed and improve performance by letting IM do simple computing in dynamic variables (such as for exemple dividing a number, or substracting ...)
- 2018-04-02T11:55:48-07:00
- Forum: Users
- Topic: How to use image -format / info: in same command-line ?
- Replies: 6
- Views: 8967
Re: How to use image -format / info: in same command-line ?
Hi Fred, Hi Snibgo, Thank you very much : Using dynamic variables works perfectly in command-line : I really thank you for this, I was not able to make that work in the past ! However, As I am using the COM+ Object, unsing variables seems not possible using the 'Convert' tool (Even in command-line ...
- 2018-04-02T00:18:21-07:00
- Forum: Users
- Topic: how to count unique colors in image ?
- Replies: 18
- Views: 52812
Re: how to count unique colors in image ?
I'm astonished these %[xxx] string formats cannot work correctly with IM v7.0.7-28
- 2018-03-30T23:27:47-07:00
- Forum: Users
- Topic: how to count unique colors in image ?
- Replies: 18
- Views: 52812
Re: how to count unique colors in image ?
#Fred : Brilliant and concise explanation !
That was close to what my mind was about to think, but explained this way, it totally makes sense
A big "Thank You" to start your day !
That was close to what my mind was about to think, but explained this way, it totally makes sense
A big "Thank You" to start your day !
- 2018-03-30T23:10:28-07:00
- Forum: Users
- Topic: How to use image -format / info: in same command-line ?
- Replies: 6
- Views: 8967
How to use image -format / info: in same command-line ?
Hi, Under Dos, with IM v7, sometimes I need to identify the Width of the image using convert, then use this variable later in my connvert command, without any pipe. I'm a little lost on how about to perform this... Here, I am trying to reduce image Width by its width minus 12 pixels, for example ...
- 2018-03-30T22:39:04-07:00
- Forum: Users
- Topic: how to count unique colors in image ?
- Replies: 18
- Views: 52812
Re: how to count unique colors in image ?
PS : For curiosity, I have tried to use "%[colors]" instead of "[%k]", and the command-line does not seems to like that :
Code: Select all
convert: unknown image property "%[colors]" @ warning/property.c/InterpretImageP
roperties/3934.
- 2018-03-30T22:32:20-07:00
- Forum: Users
- Topic: how to count unique colors in image ?
- Replies: 18
- Views: 52812
Re: how to count unique colors in image ?
Hi Fred, I have thought to this solution first : reducing to 1px is a great mean to obtain the main color of an image. But concerning the Alpha channel, I am not willing to obtain the main color, but be sure that the semi-transparent pixels are considered into the evaluation process. So I am ...
- 2018-03-30T21:46:55-07:00
- Forum: Users
- Topic: how to count unique colors in image ?
- Replies: 18
- Views: 52812
Re: how to count unique colors in image ?
Hi, An addition to this (old but useful) post, is the case where you want to know if an image have some transparency data, or not . Basically, you have to extract the Alpha channel, and count the numbers of colors in it. If the count is greater than 1 , then your alpha channel is used (it contains ...
- 2018-03-30T10:56:38-07:00
- Forum: Bugs
- Topic: ellipse does not work in some cases - too many bezier coordinates / non-conforming drawing primitive definition
- Replies: 9
- Views: 19898
Re: ellipse does not work in some cases - too many bezier coordinates / non-conforming drawing primitive definition
Hi Magick, I understand. This is sometimes very hard to predict how many pixels/memory/time will be required by a particular processing. So I understand why you had chosen to use speculative allocation. I was using this kind of thing in one of my programs, and I ended by replacing it completely ...
- 2018-03-29T21:35:55-07:00
- Forum: Bugs
- Topic: ellipse does not work in some cases - too many bezier coordinates / non-conforming drawing primitive definition
- Replies: 9
- Views: 19898
Re: ellipse does not work in some cases - too many bezier coordinates / non-conforming drawing primitive definition
Thanks @Magick !...but seems still buggy However, I experienced the same issue in IM 7.0.7-28 (Q16 x64 DLL HDRI) on Windows with 24Gb of RAM, when processing big sizes. WORKS : convert ^ -size 2203x2203 xc:white -fill black ^ -draw "roundrectangle 756,756 1398,1398 5,5" ^ c:\-RESULT-OK-notTooBig ...
- 2018-03-29T20:59:40-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: Composite not working anymore with VBScript
- Replies: 1
- Views: 84404
Re: Composite not working anymore with VBScript
This possible bug was reported on GitHub as an Issue, whose ticket is visible here : https://github.com/ImageMagick/ImageMagick/issues/1070
- 2018-03-29T20:26:59-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: How do I use VB script?
- Replies: 2
- Views: 97578
Re: How do I use VB script?
Hi, The basic syntax for using IM in VBScript is the following. The "classic batch" command line parameters are separated by spaces, and to use them in VbScript, you have to enclose them as strings, as explained here : http://www.imagemagick.org/script/ImageMagickObject.php set o_objIMG ...
- 2018-03-29T20:22:02-07:00
- Forum: Windows COM+ & Visual Basic
- Topic: Image Magick slow
- Replies: 1
- Views: 92197
Re: Image Magick slow
Hi, Are you using the 32-bit or 64-bit version of IM ? I have experienced very long (sometimes infinite) time taken when using canvas as big as yours (3150X3500) when using a 32-bit version of IM. On the 32-bit version under Windows, only 3Gb are available, as you can see it : identify -list ...