Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
rodlie
Posts: 23 Joined: 2018-12-13T01:41:06-07:00
Authentication code: 1152
Contact:
Post
by rodlie » 2018-12-15T23:33:25-07:00
Hi,
MIFF files has
when you identify them, is it possible to change it? I want to save a project as MIFF and I need to save the composite operator for later use.
I tried (in Magick++):
Composition operator to be used when composition is implicitly used (such as for image flattening).
But that is not saved in the MIFF.
The project is just a bunch of images layered on top with various offset and composite operators, very basic stuff.
Last edited by
rodlie on 2018-12-16T13:33:07-07:00, edited 1 time in total.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Contact:
Post
by fmw42 » 2018-12-16T01:29:15-07:00
rodlie
Posts: 23 Joined: 2018-12-13T01:41:06-07:00
Authentication code: 1152
Contact:
Post
by rodlie » 2018-12-16T12:07:58-07:00
6.9.10-16 Q16HDRI Linux.
Command: set compose operator (not "Over") on a image, save as MIFF, run identify and check "Compose: XXX".
My question is: If I set the compose operator on an image can I expect that info to be saved in the MIFF?
Btw, I have already added custom attr to workaround this, I just wanted to know why the image contains a "Compose" option but it's always "Over".
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Contact:
Post
by snibgo » 2018-12-16T12:47:45-07:00
At the command line, saving as miff also saved the current setting of "-compose". This meant that after reading a miff, "-composite" without explicitly setting "-compose" was risky.
That no longer seems to be the case. I don't know if using a composite setting in an API ever set the "compose" metadata. I doubt if it did, because the API didn't use that metadata.
Yes, custom attributes are a solution to this.
rodlie
Posts: 23 Joined: 2018-12-13T01:41:06-07:00
Authentication code: 1152
Contact:
Post
by rodlie » 2018-12-16T13:32:43-07:00
Thanks for the information, will use custom attributes.
Users browsing this forum: Ahrefs [Bot] , Amazon [Bot] , Bing [Bot] , Google [Bot] , Semrush [Bot] and 26 guests