Search found 49 matches

by Alexvb6
2018-03-27T20:04:11-07:00
Forum: Windows COM+ & Visual Basic
Topic: SOLVED : Use a variable number of arguments in VbScript / Asp
Replies: 3
Views: 8298

Re: Use a variable number of arguments in VbScript / Asp

It seems that IM does not like to receive an Array containing the source and destination files. The source and destination file have to be included in the arguments, and the Array containing optional arguments have to be included between them. So the following will not generate any error, BUT ImageM...
by Alexvb6
2018-03-27T19:37:16-07:00
Forum: Windows COM+ & Visual Basic
Topic: SOLVED : Use a variable number of arguments in VbScript / Asp
Replies: 3
Views: 8298

SOLVED : Use a variable number of arguments in VbScript / Asp

Hi, In Vbscript, How could I use a variable number of arguments ? (In IM v 6.9.9) 'Declare my arguments Dim arg(1) arg(0) = "c:\Source.jpg" arg(1) = "c:\Destination.jpg" 'The following works, but I have to know the number of arguments, they will never be the same in my program Set ImgObj = CreateObj...
by Alexvb6
2018-03-08T01:29:33-07:00
Forum: Users
Topic: How to set background color while Applying an SRT rotation to a PNG file ?
Replies: 14
Views: 5753

Re: How to set background color while Applying an SRT rotation to a PNG file ?

Hi, Another time : thank you Snigbo, fmw42, and GeeMack ! The best results are obtained by Snigbo's two proposals, -spread 20 and -compose Displace ! I will start from them, then blur them a little. This way, my background will be in coherence with the rotated image (that I will compose over the spr...
by Alexvb6
2018-03-07T05:20:38-07:00
Forum: Users
Topic: How to set background color while Applying an SRT rotation to a PNG file ?
Replies: 14
Views: 5753

Re: How to set background color while Applying an SRT rotation to a PNG file ?

Oh ! Just another thing I am thinking about... I have seen that I could use -virtual-pixel random -filter point ^ to get the newly created pixels of the background as "random from the colors contained in the original image". But without considering SRT or any other operator, I am wondering if there ...
by Alexvb6
2018-03-07T05:08:26-07:00
Forum: Users
Topic: How to set background color while Applying an SRT rotation to a PNG file ?
Replies: 14
Views: 5753

Re: How to set background color while Applying an SRT rotation to a PNG file ?

Hi Fred, Hi Snigbo, Keeping everything transparent THEN apply the background by flattenning is what I was trying to achieve... But your knowledge of IM surpassed mine ! I'ma little bit contrite as the command-line is just "simple" and "self-explanatory"... So my final words will simlpy be : You help...
by Alexvb6
2018-03-07T00:04:14-07:00
Forum: Users
Topic: How to set background color while Applying an SRT rotation to a PNG file ?
Replies: 14
Views: 5753

How to set background color while Applying an SRT rotation to a PNG file ?

Hi, Under windows with IM 6.5 or 6.9, I am applying an SRT rotation over a PNG image, and would like to set the background color. I can successfully rotate the image and set the virtual pixels color, but my rotated image in the center remains in a "transparent square". To be clearer, the initial tra...
by Alexvb6
2018-02-21T12:23:07-07:00
Forum: Bugs
Topic: Sepia filter doesn't handle alpha channel (corrupt output)
Replies: 12
Views: 18483

Re: Sepia filter doesn't handle alpha channel (corrupt output)

Hi, For those of you who are forced to use ImageMagick below 6.8.9, and still need to keep and convey the initial Alpha channel of the source PNG image, here is a fully working workaround. The trick is to extract the initial Alpha channel of the PNG image, then to reapply it with the "Composite" met...
by Alexvb6
2018-02-16T02:07:42-07:00
Forum: Users
Topic: Issue with composite -stereo on 6.7.8
Replies: 17
Views: 10867

Re: Issue with composite -stereo on 6.7.8

Thank you Fred !
by Alexvb6
2018-02-15T12:50:24-07:00
Forum: Users
Topic: How to use -stereo inside a convert command (instead of composite) ?
Replies: 1
Views: 1314

How to use -stereo inside a convert command (instead of composite) ?

Hi, I am using this composite command to create a stereo image : composite -stereo +15 SOURCE.JPG SOURCE.JPG -composite DEST.JPG I'm searching for a way to use it inside a convert command (because I need to convert the colorspace, then the output format), and I would like to avoid having two separat...
by Alexvb6
2018-02-09T18:01:08-07:00
Forum: Users
Topic: How to mask a source Png Image ?
Replies: 6
Views: 2718

Re: How to mask a source Png Image ?

Hi again, Hi have found by myself how to preserve the initial transparency of the original source image : It is needed to extract its initial alpha channel, then combine it with the rounded mask, using the -compose Multiply operator. Here is the complete working code, based on Snigbo's one and my mo...
by Alexvb6
2018-02-09T17:21:45-07:00
Forum: Users
Topic: How to mask a source Png Image ?
Replies: 6
Views: 2718

Re: How to mask a source Png Image ?

Hi Snigbo, I was not aware that my second image was inheriting the stroke parameters from the first. Very interesting thing ! So if I understand well, after having specified "stroke colour #e2efff width 4" for my first image, the second image was inheriting and using these parameters also, even afte...
by Alexvb6
2018-02-09T03:56:39-07:00
Forum: Users
Topic: How to mask a source Png Image ?
Replies: 6
Views: 2718

Re: How to mask a source Png Image ?

Hi Snigbo, Obviously I know how MPR works ;-) I have precised in my quesiton that I have splitted my command-line for ease of rading purposes. Here is the complete command line I use. The composition does not work, that is the sole problem : convert MY_FILE_IN.PNG -crop 690x690+555+555 +repage -pain...
by Alexvb6
2018-02-09T02:57:42-07:00
Forum: Users
Topic: How to mask a source Png Image ?
Replies: 6
Views: 2718

How to mask a source Png Image ?

Hi, Using IM 6.9 on Windows, I am stuck for hours on a very simple case : masking a source Png image with a Black and white mask ! I am stuck on the 4th step, when composing. Step 1. I have a colorful source image in Png. Step 2. I Crop a portion, apply a paint effect to it, then add a 4px border ar...
by Alexvb6
2015-02-11T00:59:26-07:00
Forum: Bugs
Topic: ImageMagickObject OLE : Bug in version 6.0.9
Replies: 2
Views: 2307

Re: ImageMagickObject OLE : Bug in version 6.0.9

Oh !! I'm sorry ! That's version 6.9.0-5 !
I've made a typographical error ! ^^Sorry (I have edited my original post)
So i'm really using the latest version (downloaded from the ImageMagick website yesterday)., and with this latest version, the bug occurs..
by Alexvb6
2015-02-09T21:41:22-07:00
Forum: Bugs
Topic: ImageMagickObject OLE : Bug in version 6.0.9
Replies: 2
Views: 2307

ImageMagickObject OLE : Bug in version 6.0.9

Hi, I'm using ImageMagick for more than 3 years successfully on our Windows Server 2008; and using the version ImageMagick-6.8.5-Q16 . By just converting a simple JPG to Grayscale, it is fully working with the previous version ImageMagick-6.8.5-Q16. We updated to thelatest version 6.9.0 that seems h...