Search found 11 matches

by docjones2
2012-07-23T15:30:32-07:00
Forum: Magick Scripting Language
Topic: feature request for label:* pseudo file format
Replies: 0
Views: 56714

feature request for label:* pseudo file format

Hello, So I've begun to explore the pseudo file formats, they are much fun, particularly the label:* pseudo format. MSL support for the pseudo file formats is pretty good, however there is only one hole I have managed to find, and it is in label:* The imagemagick command line tutorials describe all ...
by docjones2
2012-07-16T11:11:51-07:00
Forum: Magick Scripting Language
Topic: Consecutive Crops Fail
Replies: 0
Views: 53617

Consecutive Crops Fail

hello, There is a bug pertaining to images with more than one crop tag in them. Consider the code <?xml version="1.0"?> <group> <image> <read filename="horsefly.jpg" /> <crop geometry="250x250"/> <rotate degrees="90"/> <crop geometry="100x100"/> </im...
by docjones2
2012-07-16T10:53:06-07:00
Forum: Users
Topic: List "pseudo-image formats" and "built-in patterns"
Replies: 1
Views: 6375

List "pseudo-image formats" and "built-in patterns"

Hello, Is there any way to list the supported pseudo-image formats, built-in images, and built-in patterns using a command like `convert -list pattern`? `convert -list list` didn't return anything that looked like I may be able to use it for my purpose. http://www.imagemagick.org/script/formats.php ...
by docjones2
2012-06-26T12:07:20-07:00
Forum: Magick Scripting Language
Topic: Profile Tag Broken
Replies: 1
Views: 56989

Profile Tag Broken

Hello, For a project I am extensively using MSL to alter images on the fly in a web based environment. It is desirable to be able to optimize the file size of an image as losslessly as possible, something like `convert file -strip file` or `convert file +profile "*" file` from within MSL. ...
by docjones2
2011-07-29T14:55:15-07:00
Forum: Magick Scripting Language
Topic: crop with gravity
Replies: 1
Views: 61460

Re: crop with gravity

There has been no response to this thread.

Can somebody tell me the status?

If this request reflects a misunderstanding on my part, can someone explain to me the proper way to achieve a `convert file -gravity Center -crop 250x250+0+0` using msl?

Thank you.
by docjones2
2011-07-28T13:17:51-07:00
Forum: Magick Scripting Language
Topic: crop with gravity
Replies: 1
Views: 61460

crop with gravity

I reported this issue in a different thread, but I am moving it to its own thread, to ensure the issue gets attention. A patch which appeared in today's beta allows gravity to be <set>, however <crop> does not implement gravity at this time. in msl.c at line 2141, the function ParsePageGeometry is c...
by docjones2
2011-07-28T11:33:15-07:00
Forum: Magick Scripting Language
Topic: crop height xor width inconsistency
Replies: 1
Views: 59582

crop height xor width inconsistency

This problem involves specifying a single dimension for <crop> (height or width but not both) consider <crop geometry='x250'/> it will create and image with a height of 250 and the original width. however <crop geometry='250x'/> will not create an image with a width of 250 and the original height. I...
by docjones2
2011-07-28T11:11:29-07:00
Forum: Magick Scripting Language
Topic: set gravity
Replies: 5
Views: 80804

Re: set gravity

I figured it out. at msl.c line 2141 there is the function call flags=ParsePageGeometry(msl_info->image[n],value, &geometry,&exception); changing this to flags=ParseGravityGeometry(msl_info->image[n],value, &geometry,&exception); will give the behaviour I expected, and fixes my issue...
by docjones2
2011-07-28T10:17:29-07:00
Forum: Magick Scripting Language
Topic: set gravity
Replies: 5
Views: 80804

Re: set gravity

It seems as if gravity is recognized now as a <set> option, however I'm not sure if it works correctly. Consider the following <set gravity='Center' /> <crop geometry='250x250+0+0'/> This doesn't seem to do what is expected, which (if I understand correctly) should be the equivalent of convert filen...
by docjones2
2011-07-28T09:47:54-07:00
Forum: Magick Scripting Language
Topic: set gravity
Replies: 5
Views: 80804

Re: set gravity

Thank you!

I imagine the code will be available at ftp://ftp.imagemagick.org/pub/ImageMagick/beta/ , no?

I'll give it a whirl and post back on the status.
by docjones2
2011-07-27T15:48:58-07:00
Forum: Magick Scripting Language
Topic: set gravity
Replies: 5
Views: 80804

set gravity

Hello, I have read in various places that the msl language hasn't implemented all the features of PerlMagick yet, because of lack of demand -- however that features would implemented upon request "usually within a day." There is currently no way to set gravity (ie: <set gravity='Center'/> ...