Search found 5 matches

by gmccartney
2012-02-16T07:57:16-07:00
Forum: Users
Topic: moving pages from one multipage tiff to another
Replies: 4
Views: 9881

Re: moving pages from one multipage tiff to another

hmmm, so if the users asks to move pages 1,3 and 5 from file 1 to file2 after page 3 could I use:

convert file1.tif -write MPR:file1 +delete file2.tif -write MPR:file2 +delete \
MPR:file2[0-2] MPR:file1[0] MPR:file1[2] MPR:file1[4] MPR:file1[3--1] result.tif

I will have to try that...

Gerald
by gmccartney
2012-02-15T16:14:38-07:00
Forum: Users
Topic: moving pages from one multipage tiff to another
Replies: 4
Views: 9881

moving pages from one multipage tiff to another

I am moving pages from one tif to another.

Moving one page works great. This command inserts page 2 from file2.tif into file1.tif as page 2 of the result.tif:
convert file1.tif file2.tif[1] -insert 1 result.tif

But if I try to move a range of pages, onyl the first page goes to the correct ...
by gmccartney
2012-02-15T16:08:10-07:00
Forum: Users
Topic: crop page in multipage tif
Replies: 4
Views: 8712

Re: crop page in multipage tif

The -clone operator worked perfectly.
Thank you.
by gmccartney
2012-02-15T13:31:19-07:00
Forum: Users
Topic: crop page in multipage tif
Replies: 4
Views: 8712

Re: crop page in multipage tif

I got it to work using:
convert Source.tif ( Source.tif[1] -crop 1700X1300+250+50 +repage ) -insert 1 ( -delete 2 ) newSource.tif
note: incremented the delete page number since I inserted in front of it...

No idea why reversing the order of operations worked, but it did...

Gerald
by gmccartney
2012-02-15T13:23:04-07:00
Forum: Users
Topic: crop page in multipage tif
Replies: 4
Views: 8712

crop page in multipage tif

I am trying to crop a single page of a multipage tif in a single operation.

Source.tif is a 15 page tif file. I want to crop page 2 to 1700 X 1300 @ 250,50.

I can get it to work using 3 separate commmands;
convert Source.tif[1] -crop 1700X1300+250+50 +repage croppedPage.tif
convert Source.tif ...