Search found 25 matches
- 2016-02-14T14:26:33-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
I've released the Perl module https://metacpan.org/release/Image-Magick-CommandParser.
- 2016-02-06T22:57:03-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
You're right. I was confused by the identical syntax.
- 2016-02-06T21:23:27-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
This page - http://imagemagick.org/script/command-line-processing.php - has 2 copies of this section:
Stream Buffering
By default, the input stream is buffered. To ensure information on the source file or terminal is read as soon as its available, set the buffer size to 0:
convert logo: gif ...
Stream Buffering
By default, the input stream is buffered. To ensure information on the source file or terminal is read as soon as its available, set the buffer size to 0:
convert logo: gif ...
- 2016-01-30T21:25:06-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
And at the same point:
{size}{offset} Specifying the offset (default is +0+0). Below, {size} refers to any of the forms above.
{size}{+-}x{+-}y Horizontal and vertical offsets x and y, specified in pixels. Signs are required for both. Offsets are affected by ‑gravity setting. Offsets are not ...
{size}{offset} Specifying the offset (default is +0+0). Below, {size} refers to any of the forms above.
{size}{+-}x{+-}y Horizontal and vertical offsets x and y, specified in pixels. Signs are required for both. Offsets are affected by ‑gravity setting. Offsets are not ...
- 2016-01-30T21:11:18-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
On this page: http://imagemagick.org/script/command-line-processing.php
there is an option: area@ Resize image to have specified area in pixels. Aspect ratio is preserved.
But the example uses a different syntax: convert logo: -resize '@10000' wiz10000.png.
Should the latter read convert logo ...
there is an option: area@ Resize image to have specified area in pixels. Aspect ratio is preserved.
But the example uses a different syntax: convert logo: -resize '@10000' wiz10000.png.
Should the latter read convert logo ...
- 2016-01-30T20:48:44-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
Ahh. OK. Thanx.
- 2016-01-30T16:45:07-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
BTW: Is label:"Some text" the deprecated form of -label "Some text"?
- 2016-01-25T20:53:32-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
- 2016-01-25T20:41:45-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
Here it is:
:default ::= action => [values]
#lexeme default = latm => 1 # Longest Acceptable Token Match.
# G1 rules in top-down order.
:start ::= command_and_options
command_and_options ::= command_name input_file_name rule_set
command_name ::= 'convert' action => command
| 'mogrify' action ...
:default ::= action => [values]
#lexeme default = latm => 1 # Longest Acceptable Token Match.
# G1 rules in top-down order.
:start ::= command_and_options
command_and_options ::= command_name input_file_name rule_set
command_name ::= 'convert' action => command
| 'mogrify' action ...
- 2016-01-25T18:50:23-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
An update. I originally wrote the BNF to treat each action (-size etc) separately. After re-writing the BNF many times to treat actions uniformly, I got the BNF down to 28 lines.
But, post-processing the output of the parsing engine (Marpa::R2) to handle special cases caused me to write what I feel ...
But, post-processing the output of the parsing engine (Marpa::R2) to handle special cases caused me to write what I feel ...
- 2016-01-07T17:51:51-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
For those intrigued, the Marpa-style BNF [1] is 425 lines, double-spaced for my personal preference making it 850.
[1] https://metacpan.org/pod/distribution/M ... ss/DSL.pod where DSL [2] is domain-specific language.
[2] https://en.wikipedia.org/wiki/Domain-specific_language.
[1] https://metacpan.org/pod/distribution/M ... ss/DSL.pod where DSL [2] is domain-specific language.
[2] https://en.wikipedia.org/wiki/Domain-specific_language.
- 2016-01-07T17:46:32-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
An update on my Perl module. It's working well enough on options and their parameters.
Now I'm just adding support for handling the trailing output file name as a special case of the latter.
After that, a little cleaning up and I'll release it.
The first practical use I see is to accept an IM -crop ...
Now I'm just adding support for handling the trailing output file name as a special case of the latter.
After that, a little cleaning up and I'll release it.
The first practical use I see is to accept an IM -crop ...
- 2016-01-05T20:07:36-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
- 2016-01-05T18:54:21-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
Re the table for '-ordered-dither threshold_map{,level...}', do I read it correctly that columns 1 and 3 only are valid inputs?
- 2016-01-05T18:12:32-07:00
- Forum: Bugs
- Topic: Typos in the command line option page for V 6
- Replies: 48
- Views: 25987
Re: Typos in the command line option page for V 6
Thanx for the quick response.
Many years (decades?) ago I was allowed to log on to IM and made some doc changes, but they were obliterated a couple of versions later, so I've been deeply reluctant to make any since :-( but I do appreciate the availability of it on github, since I use github myself ...
Many years (decades?) ago I was allowed to log on to IM and made some doc changes, but they were obliterated a couple of versions later, so I've been deeply reluctant to make any since :-( but I do appreciate the availability of it on github, since I use github myself ...