Picture editor
Pictures on Drive — files in PNG, JPG, WebP and GIF — open in an editor right in the browser. In it you crop, rotate and flip a picture, correct its color, apply a filter, draw on it, add a watermark and change its size. Everything you do stays in the window until you press Save: only then does the edited picture go back to Drive, as a new version of the same file.
How to edit a picture
- Open QubDrive and double-click a picture file (or choose it and press Enter or Space). The picture opens in the editor in the same window. A link to the picture — the address
#/drive/followed by the picture's identifier — opens the editor at once. - Pick a tab and a tool, and make the changes — see The tabs below. The picture changes at once, but only in the window.
- Press Save in the top bar.
The editor opens on the Finetune tab with the Brightness tool selected.
While there are edits that are not saved, the header of the file shows Not saved; after saving it shows Saved. If you try to leave the file with unsaved edits, Drive asks for confirmation first.
Good to know:
- You see the tools only when you may edit the file and no colleague holds it at the moment (the header then says … is editing this document; the dots stand for the name). If you may only look at the file, or you opened an earlier version from the history, the editor shows the picture and nothing else.
- A picture you are not allowed to download (a ban set in the sharing dialog, see Sharing files and documents) does not open in the editor: Drive returns you to the file list.
- Pictures of other formats, for example SVG, are not opened in the editor: a double click downloads them. The same holds for a picture uploaded with more than 40 million points in area or more than 65 535 points on a side: it stays an ordinary file.
The top bar
From the left:
- Only on a narrow screen (up to 760 pixels): the tabs are hidden, and a menu button stands first, at the far left of the top bar; it opens the list of tabs under the name Menu.
- Save — writes the edited picture back to Drive, see Saving.
- In the middle, a caption such as
800 x 600 px— the size of the picture as it will be saved, with the crop, the turn and the new size taken into account. Its hint is Saved image size (width x height). - The button with the hint Show original image: press and hold it to see the picture as it was when you opened it; let go and your edits come back. The button works only when there is something to compare.
- The zoom: the buttons with the hints Zoom out and Zoom in and the current percentage between them. A click on the percentage (its hint is Toggle zoom menu) opens a menu: Fit size, Actual size (100%), 25 %, 50 %, 75 %, 125 %, 170 %, 300 %, 500 % and 1000 %. While the Crop tool is selected, the zoom is unavailable.
- At the right, three buttons: Reset/delete all operations, Undo last operation and Redo last operation. Undo and redo work step by step and are active only when there is a step to take back or to repeat.
The reset button throws away all edits made since the picture was opened. It asks first: the window Warning with the text Discard your changes? They won't be saved. and the buttons Confirm and Cancel. The button is inactive until the first edit.
The tabs
The tabs stand in a column at the left: Adjust, Finetune, Filters, Watermark, Annotate and Resize. Under the picture are the tools of the chosen tab; when a tool has settings, they stand in a row above the tools.
The Adjust tab
Four tools:
- Crop — a click opens a menu of frame shapes: Custom (a free frame), Original proportions (a frame in the proportion of the picture), Landscape (16:9), Portrait (9:16) and Ellipse (an oval frame — the picture is cut along the oval). After the choice a frame appears over the picture; the part outside it is blurred and darkened, and it is cut off when you save. Move the frame by dragging it and change its size by the handles; with the free frame and the oval the handles are on every side and corner, with the other shapes only on the corners, so that the proportion stays. The button now shows the name of the chosen shape. When a change of the frame makes it smaller than the size set on the Resize tab while it was not smaller before, a warning appears: Note, the selected crop area is lower than the applied resize which might cause quality decrease
- Rotate — two buttons turn the picture by 90 degrees, counterclockwise and clockwise; the slider turns it by any angle from −180 to 180 degrees.
- Flip X and Flip Y — mirror the picture horizontally or vertically at one click. After the click the name of the button becomes Un-Flip X or Un-Flip Y, and the next click returns the picture.
The Finetune tab
Five tools, each with a slider and a number field beside it:
- Brightness — the slider Brightness.
- Contrast — the slider Contrast.
- HSV — three sliders: Hue, Saturation and Value.
- Blur — the slider Blur.
- Warmth — the slider Warmth.
The Filters tab
Filters is a strip of ready-made filters, each shown on a small copy of your picture. A click applies the filter to the whole picture; the filter Original removes it. Only one filter works at a time. Four filters are named in the interface language — Invert, Black & White, Sepia and Solarize; the others carry the names of the filters of Instagram, such as Clarendon, and are written the same in every language.
The Annotate tab
The tab holds eight tools: Text, Image, Rectangle, Ellipse, Polygon, Pen, Line and Arrow.
How to add an element: pick the tool, press the mouse button over the picture and drag; the element appears when you let go. With Pen you draw freehand while the button is held. Holding Shift while you drag makes a square out of the rectangle, a circle out of the oval, and keeps a line or an arrow horizontal or vertical. The Image tool is added by its own button, see below.
Click an element to select it: drag the element to move it, and handles around it resize and turn it. Under the selected element are two icon buttons — duplicate and delete. The settings of the selected element stand in the row above the tools.
| Tool | What it adds | Its settings |
|---|---|---|
| Text | A text. A frame filled with a sample text appears; double-click the text to change it: Enter accepts the text, Shift + Enter starts a new line, Esc leaves the text as it was. | The fill color, the font list (named Font family: Arial, Tahoma, Sans-serif or Comic Sans), the field Size, the bold and italic buttons, Text alignment, Text spacings and the common settings below. |
| Image | Another picture on top of yours. | The button + Add image (hint Select image to add...) and the common settings below, except the fill color. |
| Rectangle | A rectangle. | The fill color, Corner Radius and the common settings below. |
| Ellipse | An oval. | The fill color and the common settings below. |
| Polygon | A regular polygon. | The fill color, Sides (from 3 to 25) and the common settings below, except the position. |
| Pen | A freehand line. | Opacity, Stroke and Shadow. |
| Line | A straight line. | Opacity, Stroke and Shadow. |
| Arrow | An arrow. | Opacity, Stroke and Shadow. |
The button + Add image opens the file choice at once. You may pick several pictures: each is placed in the middle of the picture and, if it is larger, scaled down to fit. A file that is not a picture is not added; a notice names it: the file names followed by is not image (for several files are not images) and to be uploaded. A picture that could not be read gives the notice Error while uploading the image.
The common settings of the elements are small icon buttons; the hint of each is its name, and a click opens a window:
- the color swatch at the left of the row — the fill color (the picture, the line, the arrow and the freehand line have none);
- Opacity — a window with the slider Opacity in percent: at 100 % the element is fully opaque, the lower the value, the more see-through it is;
- Stroke — the width of the outline in pixels and the outline color;
- Shadow — the window Shadow with the sliders Horizontal and Vertical (the offset in pixels), Blur and Opacity (in percent) and the shadow color;
- Position — the window Position with nine buttons — eight arrows and a dot in the middle: put the element at a corner, at the middle of a side or at the center of the picture.
The settings that only a text has: bold and italic are two buttons that switch the style on and off; Text alignment opens a window with three buttons — the text at the left, at the center, at the right; Text spacings opens a window with two sliders in pixels, Letter Spacing and Line height, each from 0 to 100.
The Watermark tab
A watermark is one picture or one text over the whole picture. The tab has the button + Add watermark (hint Choose the watermark type; on a very narrow screen the button reads +). A click opens a menu of two items:
- Upload watermark — pick a picture file; it is placed in the middle of the picture. If the file cannot be read, a notice says Failed to load image.
- Add as text — a text is placed in the middle of the picture; double-click it to change the words, as with the text of the Annotate tab.
There is one watermark at a time: adding a new one replaces the old one. The watermark is selected at once, and its settings stand above the tools: for a picture — the common settings of the elements (without the fill color), for a text — also the text settings (font, size, bold, italic, alignment, spacings). Both have one more button, Padding: a window with the slider Padding in pixels, from 0 to 100.
The Resize tab
The tab sets the size of the saved picture, in pixels: the fields Width (hint Width in pixels) and Height (hint Height in pixels). Between them is the button with the hint Toggle ratio lock. While the lock is closed (it is closed when the picture opens), a change in one field recalculates the other so that the proportion stays; click the lock and the two fields become independent. The button with the reset icon, at the right of the fields, returns the original size; it is active only after the size was changed. A field you clear shows the hint Width or Height, in English in every interface language.
Saving
Save in the top bar writes everything you did on all tabs — the frame, the turn, the mirror, the color, the filter, the annotations, the watermark and the new size. While it works, the editor is covered with Saving….
- The picture stays in the same file, under the same title and in the same place, with the same sharing.
- The picture is saved as WebP, whatever it was before; the download name of the file gets the extension
.webp, while the title in Drive does not change. - The version of the picture that was there before is kept in the history of the file: each save adds one version. The history opens from the "⋮" menu in the header of the file (for screen readers the menu is named Document actions), the item History. An earlier version opens in the same editor, without tools, and Restore this version returns it. More — in Documents, spreadsheets and pages.
- If a colleague saved the same picture while you were editing, your save still goes through, and the header shows the mark Someone else's edit was underneath; the version it replaced stays in the history.