Search found 53 matches

by Alexvb6
2020-03-14T20:19:39-07:00
Forum: Users
Topic: How do i underline a Text
Replies: 3
Views: 6265

Re: How do i underline a Text

When you find a solution, please post it, don't just tease other readers.
That is the basic rule of any help forum. Thanks
by Alexvb6
2020-03-14T18:00:13-07:00
Forum: Windows COM+ & Visual Basic
Topic: Can I Use a Binary Stream as input for IM.convert?
Replies: 8
Views: 32778

Re: Can I Use a Binary Stream as input for IM.convert?

I think that in your case, you can use MPR file format. It "writes" the files in-memory rather than on the disk. In the case you would need to send the in-memory generated/converted file to the browser, jump to : http://www.imagemagick.org/discourse-server/viewtopic.php?f=8&t=12110&p=173306&sid=0409...
by Alexvb6
2020-03-14T17:58:40-07:00
Forum: Windows COM+ & Visual Basic
Topic: Using convert on .NET
Replies: 4
Views: 16651

Re: Using convert on .NET

Hi, I have finally found a way to write the ImageMagick output to an in-memory BLOB, and send it directly to the broswer using Response.BinaryWrite, without writing any file on the disk I/O ! This uses Classic ASP, but can easily be ported to .NET, as it is VERY basic ! This is very great for in-mem...
by Alexvb6
2020-03-14T17:53:52-07:00
Forum: Users
Topic: Format conversion in memory buffers (no hard disk r/w)
Replies: 4
Views: 8678

Re: Format conversion in memory buffers (no hard disk r/w)

Hi, I have finally found a way to write the ImageMagick output to an in-memory BLOB, and send it directly to the broswer using Response.BinaryWrite, without writing any file on the disk I/O ! This is very great for in-memory manipulation (for example generating on-the-fly Captcha). I hope this helps...
by Alexvb6
2018-04-07T00:19:26-07:00
Forum: Users
Topic: How to use image -format / info: in same command-line ?
Replies: 6
Views: 5538

Re: How to use image -format / info: in same command-line ?

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
by Alexvb6
2018-04-06T21:00:17-07:00
Forum: Users
Topic: how to count unique colors in image ?
Replies: 18
Views: 40975

Re: how to count unique colors in image ?

Very Useful Snibgo, and %[opaque] is recognized by IM 7.0.7-28 :)
by Alexvb6
2018-04-02T12:17:48-07:00
Forum: Users
Topic: How to use image -format / info: in same command-line ?
Replies: 6
Views: 5538

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 ...)
by Alexvb6
2018-04-02T11:55:48-07:00
Forum: Users
Topic: How to use image -format / info: in same command-line ?
Replies: 6
Views: 5538

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, ...
by Alexvb6
2018-04-02T00:18:21-07:00
Forum: Users
Topic: how to count unique colors in image ?
Replies: 18
Views: 40975

Re: how to count unique colors in image ?

I'm astonished these %[xxx] string formats cannot work correctly with IM v7.0.7-28
by Alexvb6
2018-03-30T23:27:47-07:00
Forum: Users
Topic: how to count unique colors in image ?
Replies: 18
Views: 40975

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 !
by Alexvb6
2018-03-30T23:10:28-07:00
Forum: Users
Topic: How to use image -format / info: in same command-line ?
Replies: 6
Views: 5538

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 : (...
by Alexvb6
2018-03-30T22:39:04-07:00
Forum: Users
Topic: how to count unique colors in image ?
Replies: 18
Views: 40975

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.
by Alexvb6
2018-03-30T22:32:20-07:00
Forum: Users
Topic: how to count unique colors in image ?
Replies: 18
Views: 40975

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 doubtfu...
by Alexvb6
2018-03-30T21:46:55-07:00
Forum: Users
Topic: how to count unique colors in image ?
Replies: 18
Views: 40975

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 t...
by Alexvb6
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: 13377

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, bec...