ImageMagick Version 7

Announcements pertaining to ImageMagick, or ImageMagick related software. This list is moderated. No discussions here, instead post to the users group instead.
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

ImageMagick Version 7

Post by magick »

The design of ImageMagick is an evolutionary process, with the design and implementation efforts serving to influence and guide further progress in the other. With ImageMagick version 7, we aim to improve the design based on lessons learned from the version 6 implementation. ImageMagick version 7 is available as an alpha release from http://www.imagemagick.org/download/alpha. See the porting guide @ http://www.imagemagick.org/script/porting.php to see how version 7 differs from version 6. A beta release of version 7 is scheduled for October of this year and a final release in June of 2014. These dates will likely slip depending on the feedback we receive during the alpha / beta cycles.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: ImageMagick Version 7

Post by anthony »

Note that the preferred command to use with IMv7 is "magick" rather than "convert".

"convert" will work and is actually the same as the "magick" command, but with some IMv7 aspects (such as scripting) disabled. It also clashes with other commands that were also called "convert" (especially under Window PC's) as should be avoided.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: ImageMagick Version 7

Post by anthony »

Update...

I have just uploaded to SVN, major changes for IMv7 to allow settings and percent escapes to work, even when no images are present.

For example... How many images do I have in memory...

Code: Select all

magick -print 'images in memory: %n\n' null:
images in memory: 0
That can be useful after trying to read a posibly bad image...

Because of this (and the main read to do it, you can now use percent escapes in settings, not just operations...
For example, you can set settings at the start of a magick command or script, to use throughout...

Code: Select all

magick -set option:my_size 100 -set option:my_bgnd lime \
       -size '%[my_size]x%[my_size]' \
       -background '%[my_bgnd]' xc:  show:
and you will get a lime colors canvas.

Cavats (at least at this time)...
* You will get a warning, if you try to set or access a per-image attribute/properity/artifact when no images are present.
* I have not gotten %[fx:..] or %[pixel:...] working without images yet,
* allso %[fx:..] to somehow be able to access (or maybe even set) % properties.


NOTE this addition as been particularly difficult as I never quite knew what would break next.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: ImageMagick Version 7

Post by anthony »

Oh.. and in case you did not know both IMv6 and IMv7 allow you to list teh free form (not specifically known) properties, artifacts, and options..

Code: Select all

   magick xc: \
      -define define=define \
      -set set_var      set \
      -set option:var   option \
      -set artifact:var artifact \
      -set property:var property \
      \
      -print "__Properties__\n%[*]" \
      -print "__Artifacts__\n%[artifact:*]" \
      -print "__Options__\n%[option:*]" \
      null:

Code: Select all

   magick xc: \
      -define array_1=11 \
      -define array_2=22 \
      -define array_3=33 \
      -define array_4=44 \
      -define array_5=55 \
      -define array_9=99 \
      \
      -print "__Array\n%[option:array_?]" \
      null:
that was added some time ago... And is very usefull for debugging setings.

However also added in teh above release was a 'debug trace' for magick options. so you can see what option was being processed when...

EG: -debug Command
will produce 'log' output before executing each setting/operation -- though the logging is very very verbose.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: ImageMagick Version 7

Post by broucaries »

Could you do if you use something like magick:
magick convert old convert argument
magick mogrify
magick identify

etc.

It will be really helpful in this way, and you do not break previous api/abi
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: ImageMagick Version 7

Post by anthony »

The only command the was replaced was "convert" and that is still available.
"magick" is meant to be able to do everythong all the other commands do.
In fact I hoped to replace some of the other commands with magick scripts.

The problem -- No time -- Life has moved on.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: ImageMagick Version 7

Post by broucaries »

For downstream (debian), it is important to replace the imagemagick command by only one.

You could do like graphickmagick have done, if you have no time.

Aka move mogrify, identify etc to /usr/lib/imagemagick/bin except magick
than in magick check if second argument is convert mogrify identify.

If it is mogrify exec /usr/lib/imagemagick/bin/mogrify

Easy and quick. I could help you if needed
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: ImageMagick Version 7

Post by broucaries »

Bonus point you keep api easilly if you decide to move indentify/mogrify to magick and it is step by step process.

Bastien
danmh
Posts: 1
Joined: 2015-03-02T08:32:50-07:00
Authentication code: 6789

Re: ImageMagick Version 7

Post by danmh »

Hello,

Is there a more current goal for the final release of IMv7?

Thank You,
Dan H.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: ImageMagick Version 7

Post by magick »

See http://www.fmwconcepts.com/imagemagick/. As soon as all these scripts (~250) work properly with ImageMagick 7.0.0-0, we will schedule a release. Currently more than 100 are tested. More than another 100 to go. In the mean-time, you can download / install / run ImageMagick 7 since its a beta release.
Post Reply