So I was doing a book layout, putting small pages on a big page. The idea is that page fragments, formatted to fit small page sizes already, or easily cropped from something containing it, would be placed in various spots on the big page.
Some pages are to be composed of multiple pages. Note c004.tif and c005.tif below... they are both contributing to the same small page, but do not both contain black stuff at the same places. All is bitonal black and white, so it seems like -compose multiply would let one merge these various pages, and it seems to work in some smaller cases I had done, where I build all the pages separately and merge them, but then that took lots of memory, so I thought I'd -flatten as I go.... but then c004.tif doesn't get included... apparently it gets overlaid by c005.tif, even the white parts. Does -compose only persist for one -flatten? I thought as a setting, it would persist until it was changed. "c:\program files\imagemagick-6.4.2-q8\convert.exe" -density 500x500 -size 10624 x16624 xc:white -compose multiply ( cover.tif[1] -crop 2249x3874+197+197! +repage -repage 10624x16624+0+0 ) -flatten ( cover.tif[3] -crop 2249x3874+197+197! -rotate 180 +repage -repage 10624x16624+2875+0 ) -flatten ( cover.tif[5] -crop 2249x3874+197+197! +repage -repage 10624x16624+5500+0 ) -flatten ( c002.tif[0] -rotate 180 +repage -repage 10624x16624+8375+0 ) -flatten ( c004.tif[0] +repage -repage 10624x16624+0+4250 ) -flatten ( c005.tif[0] +repage -repage 10624x16624+0+4250 ) -flatten ( c006.tif[0] -rotate 180 +repage -repage 10624x16624+2875+4250 ) -flatten ( c007.tif[0] +repage -repage 10624x16624+5500+4250 ) -flatten ( c008.tif[0] -rotate 180 +repage -repage 10624x16624+8375+4250 ) -flatten ( c010.tif[0] +repage -repage 10624x16624+0+8500 ) -flatten ( c011.tif[0] -rotate 180 +repage -repage 10624x16624+2875+8500 ) -flatten ( c013.tif[0] +repage -repage 10624x16624+5500+8500 ) -flatten ( c014.tif[0] -rotate 180 +repage -repage 10624x16624+8375+8500 ) -flatten ( c016.tif[0] +repage -repage 10624x16624+0+12750 ) -flatten ( c018.tif[0] -rotate 180 +repage -repage 10624x16624+2875+12750 ) -flatten ( c020.tif[0] +repage -repage 10624x16624+5500+12750 ) -flatten ( blank.tif[0] -rotate 180 +repage -repage 10624x16624+8375+12750 ) -flatten -compress Group4 tmp\temporary.tif -- Glenn -- http://nevcal.com/ =========================== A protocol is complete when there is nothing left to remove. -- Stuart Cheshire, Apple Computer, regarding Zero Configuration Networking _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
