Search found 30 matches

by magmical
2014-02-19T06:58:53-07:00
Forum: Users
Topic: [SOLVED] MSL: What attributes has <read> and <write> ?
Replies: 4
Views: 6616

Re: MSL: What attributes has <write> ?

Thanks. Thats what I needed. :)

Another question:

Is filename the only attribute of <read> ?

Code: Select all

<read filename="image.gif" />
by magmical
2014-02-18T07:14:23-07:00
Forum: Users
Topic: [SOLVED] MSL: What attributes has <read> and <write> ?
Replies: 4
Views: 6616

[SOLVED] MSL: What attributes has <read> and <write> ?

Hello everyone!

Can somebody give me a hint what attributes has the <write> command (Magick Scripting Language)?

Code: Select all

<write filename="image.png" />
I found out that also a quality attribute works:

Code: Select all

<write filename="image.png" quality="70%" />
Any more attributes?

Thanks.
by magmical
2014-02-16T03:49:24-07:00
Forum: Magick Scripting Language
Topic: [SOLVED] What attributes has <write> ?
Replies: 1
Views: 28776

[SOLVED] What attributes has <write> ?

Hello everyone!

Can somebody give me a hint what attributes has the <write> command.

Code: Select all

<write filename="image.png" />
I found out that also a quality attribute works:

Code: Select all

<write filename="image.png" quality="70%" />
Thanks.
by magmical
2013-05-21T06:44:57-07:00
Forum: Users
Topic: [SOLVED] How to copy-paste an image region with MSL?
Replies: 6
Views: 11649

Re: [SOLVED] How to copy-paste an image region with MSL?

You can combine part 1 and 2. Well, thats another good aspect! Looks much clearer now! :D <group> <image id="part"> <read filename="source.gif"/> <write filename="mpr:source" /> <crop geometry="520x100+0+0" /> <repage geometry="0x0+0+0" /> </image> <image> <read filename="mpr:source"/> <composite i...
by magmical
2013-05-20T04:26:52-07:00
Forum: Users
Topic: [SOLVED] How to copy-paste an image region with MSL?
Replies: 6
Views: 11649

Re: How to copy-paste an image region with MSL?

Clone seems to be missing in MSL. <clone /> throws an error: conjure.exe: unrecognized element `clone' @ error/msl.c/MSLStartElement/2275. But the idea with mpr (memory program register) is really good! Thanks. This code reads the image only once. <group> <image> <read filename="source.gif"/> <write...
by magmical
2013-05-18T10:46:27-07:00
Forum: Users
Topic: [SOLVED] How to copy-paste an image region with MSL?
Replies: 6
Views: 11649

Add: How to copy-paste an image region with MSL?

After a few trials - this code does a copy-paste-like action: <group> <image id="clone"> <read filename="source.gif"/> <crop geometry="... /> <repage geometry="0x0+0+0" /> </image> <image> <read filename="source.gif"/> <composite image="clone" geometry="..." /> <write filename="out.png"/> </image> <...
by magmical
2013-05-17T04:54:25-07:00
Forum: Users
Topic: [SOLVED] How to copy-paste an image region with MSL?
Replies: 6
Views: 11649

[SOLVED] How to copy-paste an image region with MSL?

Hi folks

I want to copy-paste an image region with Magick Scripting Language.

With convert it must look like this:
convert old.png ( +clone -crop 20x20+10+10 +repage ) -geometry +110+110 -composite new.png

How can I do this with Magick Scripting Language?
My real problem ist how to do a clone?
by magmical
2013-05-17T04:29:01-07:00
Forum: Users
Topic: [SOLVED] List of all supported MSL commands
Replies: 3
Views: 4271

Re: Supported MSL commands?

Yes I know.
The intention of this thread was to get an answer if my test program made a mistake in finding the useable tags or if they were really so few.

I have seen you published the docu so I think I could not be so wrong with my thoughts. :)
Thanks.
by magmical
2013-05-16T04:49:20-07:00
Forum: Users
Topic: [SOLVED] List of all supported MSL commands
Replies: 3
Views: 4271

Re: Supported MSL commands?

Maybe someone of the programmers themselves can give a comment if I guessed right?
by magmical
2013-05-16T04:46:01-07:00
Forum: Users
Topic: [SOLVED] Is there a good MSL docu available?
Replies: 8
Views: 6512

Re: [SOLVED] Is there a good MSL docu available?

Thanks for your explanation. Now would you expect ALL these settings to be included as part of the <composite...> MSL action? Well that's a good point. If you follow the xml rules then this has to be typically part of the composite action. <composite geometry="..." gravity="..." justification="..." ...
by magmical
2013-05-13T06:05:10-07:00
Forum: Users
Topic: [SOLVED] List of all supported MSL commands
Replies: 3
Views: 4271

[SOLVED] List of all supported MSL commands

LATER EDIT: Here is a complete list of all supported MSL commands (for conjure version 6.8.5-0 2013-04-23 Q8 on a windows system) http://www.imagemagick.org/script/conjure.php#msl ______________________________________________________________________________________________________ Since lacking a d...
by magmical
2013-05-13T05:55:08-07:00
Forum: Users
Topic: [SOLVED] Is "+repage" and "-repage 0x0" exactly the same?
Replies: 10
Views: 14494

Re: [SOLVED] Is "+repage" and "-repage 0x0" exactly the same

There is nothing to add. :)

Thanks for your final descriptions.