Nomadys-PDF

Images and regions

All of this starts in the free cursor (Ctrl-v), a thin cross that can go anywhere on the page. h j k l move it; w b J K (or Ctrl-h/j/k/l) move it faster; v starts a rectangle.

Copying a region as an image#

For slides, a report or a message, mark a rectangle with v and then use one of these keys.

KeyAction
ycopy it to the clipboard as a PNG; paste it anywhere
Ysave it as a PNG next to the PDF (paper-p5-1.png, paper-p5-2.png, …)

It is drawn at copy_dpi (300 dpi by default), in the page's own colours (also in dark mode), with highlights and filled-in forms as they are. The message says its size and resolution.

Putting a picture on a page#

To put a signature, a screenshot, a figure or a stamp on the page, use one of these.

HowAction
I in the free cursorchoose an image file (PNG, JPEG, BMP; Tab completes the path)
P in the free cursorpaste an image from the clipboard
:image file.pngfrom anywhere

Pictures are standard stamp annotations, so other readers show them, the panel lists them, x deletes them and u undoes.

Quality. Pictures stay sharp when you zoom in. Small ones (a signature, a screenshot) are stored with more pixels than the screen shows, enlarged with a bicubic filter, so they stay smooth up to about 250% zoom on a HiDPI screen. Images up to 4096 pixels are kept exactly (a JPEG is copied byte for byte); only very large ones are reduced, never below 4096 pixels on the longer side. A 24-megapixel photo goes in in under a second and adds about 2 MB to the file. Pictures over 120 megapixels are refused.

Writing text on a page#

For a note in the margin, a label on a figure, a line in a form that has no field, go to the free cursor (Ctrl-v), put the cross where the text goes, or mark its width with v (a rectangle works too), and press T.

KeyAction
(type)write, and the box grows with the text, which wraps at the box's width
Enternew line
Ctrl-= / Ctrl--bigger / smaller letters (Ctrl + wheel too); 12 pt to start with
arrows, Home, Endmove in the text
Ctrl-w, Backspace, Deleteerase
Ctrl-vpaste
Escdone (u undoes the whole box)

The box is then like a picture. Put the cross on it (or click it) and press e, then use these keys.

KeyAction
h j k lmove it
H / Lnarrower / wider (the text wraps again)
+ / -bigger / smaller letters
iwrite in it again (a double click too)
xdelete it
Enter / Esckeep / put it back

With the mouse, drag the box to move it, and a side or corner to change its width.

The text is real text in Helvetica, one of the fonts every PDF reader has, so nothing is embedded, and a paragraph adds only a few bytes a letter to the file, and other readers show it sharp at any zoom and can select, copy and search it. They can also move or delete the box; to edit it, use Nomadys-PDF (the text, the size and the width are kept in the box). Accents and the usual signs (quotes, dashes, the euro) work; letters outside the Latin alphabet (Chinese, Japanese, Korean, Greek, Cyrillic) show as ? for now, and the text you wrote is kept in the box. Bold, italic and equations are planned.

Moving, resizing, turning#

Put the cross on a picture or a highlighted area and press e (or click the picture with the mouse, as explained below).

KeyAction
h j k l (with Ctrl, faster)move
+ / -bigger / smaller, keeping the proportions
H / Lnarrower / wider
K / Jshorter / taller
=a picture back to its own proportions
r / Rturn a picture 90° clockwise / counter-clockwise
oturn a picture to any angle (below)
f / Fmirror a picture left-right / top-bottom
ccrop a picture (below)
xdelete it
Enterdone
Esccancel and put it back where it was

Highlighted text stays with its words; only areas and pictures move.

Turning to any angle#

o while moving a picture starts the turning mode, with these keys.

KeyAction
h / l1° counter-clockwise / clockwise (a count multiplies, so 45l turns 45°)
H / L15°
Ctrl-h / Ctrl-l5°
uupright again
r / R, f / F90° turns and mirrors work here too
Enterback to moving and resizing
Esccancel this turning

The picture turns around its centre and every reader shows it turned. A mirror (f left-right, F top-bottom) is as seen on screen, so it also reverses the direction of the angle. Like the 90° turns, the angle and the mirror are kept in the PDF without touching the picture, so they can be undone at any time, with no loss of quality.

A cropped picture cannot be turned to a free angle (uncrop it first with c then u), and a picture turned to a free angle cannot be cropped (make it upright with o then u).

With the mouse#

Everything above can be done with the mouse too; the keys and the mouse mix freely. Click a picture (or the edge of a framed area) to select it, and a frame with handles appears, and the keys above work on it. Click anywhere else to finish.

DragEffect
the picturemove it
a cornerresize it, keeping the proportions (Shift makes it free)
a sidestretch it one way
a side or corner past the opposite onemirror it
the round knob above itturn it (Shift gives steps of 15°)
anywhere, in the turning mode (o)turn it around its centre

The pointer changes shape over a handle. While you drag, the picture is drawn straight from its pixels, so it follows the mouse at once even on a heavy page; the PDF is changed when you let go, and Esc or u puts it back.

Cropping#

c while moving a picture starts cropping, with these keys.

KeyAction
h j k lcut the left / bottom / top / right side, as you see it (Ctrl cuts faster)
H J K Lgive that side back
uthe whole picture again
Enterback to moving and resizing
Esccancel this cropping

The picture itself is never cut or re-encoded. The PDF keeps it whole and only shows a part of it, so a crop, or a turn, can be undone at any time, even after the file was closed and opened again, with no loss of quality.