I've searched for a while and did find some hints but no explicit statement:
Are the following 3 commands absolutely equal?
Code: Select all
convert: +repage
convert: -repage 0x0
MSL: <repage geometry="0x0" />
Code: Select all
convert: +repage
convert: -repage 0x0
MSL: <repage geometry="0x0" />
Oh well, now I am a bit surprised.They are not the same.
Code: Select all
convert: -repage 0x0
MSL: <repage geometry="0x0" />
Code: Select all
+repage
-repage 0x0
Thanks for this additonal info! Now it becomes clearer.+repage = removes the meta-data
-repage 0x0 = recalculates the canvas size, and keeps the current offsets
I found it on the page:fmw42 wrote:They are the same. see http://www.imagemagick.org/Usage/basics/#page
Code: Select all
-repage 0x0+0+0
Equivalent to a "+repage"
Code: Select all
convert: +repage
convert: -repage 0x0
MSL: <repage geometry="0x0" />
Code: Select all
convert: +repage
convert: -repage 0x0+0+0
MSL: <repage geometry="0x0+0+0" />