Split a very long screenshot into nn pages

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, xnview

Post Reply
mrwul
Posts: 273
Joined: Tue May 25, 2010 7:01 pm

Split a very long screenshot into nn pages

Post by mrwul »

I have captured (using SnagIt - Scrolling region) a very long list.
The capture is as big as 24MB.
Obviously by default it is unreadably small, but set by 100% everything is okay.

I am looking for a way to:
- split this lllong (single) page into a number of separate pages
- A4-landscape

I have looked at "Create Multi-Page file" importing the png file
but only a blanc image.pdf is created.

Maybe it is totally impossible what I am trying to accomplish... :wink:

Thought I would give it a try there.

TIA
=
cday
XnThusiast
Posts: 2569
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Split a very long screenshot into nn pages

Post by cday »

mrwul wrote:Maybe it is totally impossible what I am trying to accomplish... :wink: =
One way -- and I suspect probably the only way -- to get somewhere close to what you want would be to use the Image > Canvas size... function, but it would require repeated operations with different settings, and there would be some limitations on what could be achieved.

The basic method would be to set the 'Screen Size' values to '%' in the drop down menu, uncheck 'Keep ratio', then set the 'Width' to 100% and the 'Height' to a smaller percentage -- as the 'Image position' for the crop can only be set to three positions vertically, that would probably be 33,3% initially.

Making three successive resizes of the original image using 'Image positions' of 'Top-Center', 'Center' and 'Bottom-Center' would split the image into 3 as a first step, and the procedure could then be repeated on each resulting image to obtain a total of 9 divisions of the original long image.

Alternatively, 'Heights' of 50% could be used to split the original image into two equal halves successively using 'Image positions' of 'Top-Center' and 'Bottom-Center', enabling division into 2, 4, 8 or 16 equal images.

Some experimentation might be required to obtain the desired result, and it would be important to uses copies of the original image to void losing the originals. I should add that I haven't tried the full method!

Although the above procedure may be impractically lengthy, if it were required regulalry it could probably be implemented using the command line NConvert repeatedly in a batch file.

Note:

This is is actually another request -- although an unusual one -- for a 'Split' function which is made periodically but isn't yet supported; if it were provided using a general algorithm to divide an image into m x n images it would be ideal for this request: m=1, n=9 !).
mrwul
Posts: 273
Joined: Tue May 25, 2010 7:01 pm

Re: Split a very long screenshot into nn pages

Post by mrwul »

Think I just found something, PosteRazor. A relatively older tool, but rather unique I guess
(July 26th 2008: Version 1.5.2). Open source freeware, also available as portable.

Select input
=
Image
=

Set margins
=
Image
=
Image
Image
Preview
=
Image
=

Results
=
Image
=

There -may- be 2 'problems':
a. output is PDF (not JPG of PNG) - for me this is not a problem as I wanted to have this text capture in PDF anyhow
but others may wish to have a image output;
b. In -my- case: there is no such thing as a magnifier (in the preview - step 4) to see where text is splitted
and one cannot 'grab' the red 'page-separators' to shift it up or down a little, avoiding that text is not being cut.

That aside, this concept may serve as an idea though.

=
Post Reply