Search found 53 matches

by Alexvb6
2018-03-28T21:20:17-07:00
Forum: Bugs
Topic: ellipse does not work in some cases - too many bezier coordinates / non-conforming drawing primitive definition
Replies: 9
Views: 13417

Re: ellipse does not work in some cases - too many bezier coordinates / non-conforming drawing primitive definition

Hi @magick,
That still occurs with IM 6.9.9.40 (Q16 x64 DLL HDRI) on Windows with big sizes...
Could you fix it for the 6.9 branch, too ?
by Alexvb6
2018-03-28T15:38:34-07:00
Forum: Windows COM+ & Visual Basic
Topic: SOLVED : Use a variable number of arguments in VbScript / Asp
Replies: 3
Views: 11842

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

UPDATE : The IM COM+ Object DOES accept the Source file and the Destination file to be specified in an Array. So, as long as the empty argumets are assigned the VBScript type Empty , it is OK. The following will work : 'Declare optional arguments Dim arg(5) arg(0) = "c:\Source.jpg" arg(1) = "-rotate...
by Alexvb6
2018-03-27T21:03:28-07:00
Forum: Windows COM+ & Visual Basic
Topic: Solved: VB: How to use dynamic/variable convert parameters?
Replies: 3
Views: 30933

Re: Solved: VB: How to use dynamic/variable convert parameters?

In the case you are not in VB, but using VBScript or ASP , you cannot use an "Object" (it does not exists in VbScript or ASP). Here is how to proceed, after having spent HOURS on this topic ! You have to list ALL the arguments (all the items of your Array), but set the ones you do not need as "Empty...
by Alexvb6
2018-03-27T21:00:54-07:00
Forum: Windows COM+ & Visual Basic
Topic: SOLVED : Use a variable number of arguments in VbScript / Asp
Replies: 3
Views: 11842

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

Ok.. So IM made me crazy on this one ! I have found how to proceed : You have to list all the args, but set the ones you do not need as "Empty" ! 'Declare optional arguments Dim arg(3) arg(0) = "-rotate" arg(1) = "67" arg(2) = Empty arg(3) = "-negate" 'Execute Set ImgObj = CreateObject("ImageMagickO...
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: 11842

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: 11842

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: 7245

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: 7245

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: 7245

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: 7245

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: 20733

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: 12758

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: 1759

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: 3716

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: 3716

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