Aller au contenu principal

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 Enregistrer: only then does the edited picture go back to Drive, as a new version of the same file.

How to edit a picture​

  1. 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.
  2. Pick a tab and a tool, and make the changes — see The tabs below. The picture changes at once, but only in the window.
  3. Press Enregistrer in the top bar.

The editor opens on the Réglage fin tab with the Luminosité tool selected.

While there are edits that are not saved, the header of the file shows Non enregistré; after saving it shows Enregistré. 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 … modifie ce 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.
  • Enregistrer — 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 Taille de l'image enregistrée (largeur × hauteur).
  • The button with the hint Afficher l'image d'origine: 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 arrière and Zoom avant and the current percentage between them. A click on the percentage (its hint is Afficher ou masquer le menu de zoom) opens a menu: Ajuster à la fenêtre, Taille réelle (100%), 25 %, 50 %, 75 %, 125 %, 170 %, 300 %, 500 % and 1000 %. While the Recadrer tool is selected, the zoom is unavailable.
  • At the right, three buttons: Réinitialiser toutes les modifications, Annuler la dernière action and Rétablir l'action annulée. 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 Avertissement with the text Abandonner les modifications ? Elles ne seront pas enregistrées. and the buttons Confirmer and Annuler. The button is inactive until the first edit.

The tabs​

The tabs stand in a column at the left: Cadrage, Réglage fin, Filtres, Filigrane, Annoter and Dimensions. 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:

  • Recadrer — a click opens a menu of frame shapes: Personnalisé (a free frame), Original (a frame in the proportion of the picture), Paysage (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 Dimensions tab while it was not smaller before, a warning appears: La zone de recadrage sélectionnée est plus petite que la taille définie — la qualité peut se dégrader
  • Pivoter — two buttons turn the picture by 90 degrees, counterclockwise and clockwise; the slider turns it by any angle from −180 to 180 degrees.
  • Retourner horizontalement and Retourner verticalement — mirror the picture horizontally or vertically at one click. After the click the name of the button becomes Annuler le retournement horizontal or Annuler le retournement vertical, and the next click returns the picture.

The Finetune tab​

Five tools, each with a slider and a number field beside it:

  • Luminosité — the slider Luminosité.
  • Contraste — the slider Contraste.
  • Teinte et saturation — three sliders: Teinte, Saturation and Valeur.
  • Flou — the slider Flou.
  • Chaleur — the slider Chaleur.

The Filters tab​

Filtres 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: Texte, Image, Rectangle, Ellipse, Polygone, Crayon, Ligne and Flèche.

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 Crayon 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.

ToolWhat it addsIts settings
TexteA 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 Police: Arial, Tahoma, Sans-serif or Comic Sans), the field Taille, the bold and italic buttons, Alignement du texte, Espacement du texte and the common settings below.
ImageAnother picture on top of yours.The button + Ajouter une image (hint Sélectionnez l'image à ajouter…) and the common settings below, except the fill color.
RectangleA rectangle.The fill color, Rayon des coins and the common settings below.
EllipseAn oval.The fill color and the common settings below.
PolygoneA regular polygon.The fill color, Côtés (from 3 to 25) and the common settings below, except the position.
CrayonA freehand line.Opacité, Contour and Ombre.
LigneA straight line.Opacité, Contour and Ombre.
FlècheAn arrow.Opacité, Contour and Ombre.

The button + Ajouter une 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 n'est pas une image (for several files ne sont pas des images) and à charger. A picture that could not be read gives the notice Impossible de charger l'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);
  • Opacité — a window with the slider Transparence in percent: at 100 % the element is fully opaque, the lower the value, the more see-through it is;
  • Contour — the width of the outline in pixels and the outline color;
  • Ombre — the window Ombre with the sliders Horizontal and Vertical (the offset in pixels), Flou and Opacité (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; Alignement du texte opens a window with three buttons — the text at the left, at the center, at the right; Espacement du texte opens a window with two sliders in pixels, Espacement des lettres and Interligne, 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 + Ajouter un filigrane (hint Choisissez le type de filigrane; on a very narrow screen the button reads +). A click opens a menu of two items:

  • Charger un filigrane — pick a picture file; it is placed in the middle of the picture. If the file cannot be read, a notice says Impossible d'ouvrir l'image.
  • Ajouter sous forme de texte — 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, Marge: a window with the slider Marge in pixels, from 0 to 100.

The Resize tab​

The tab sets the size of the saved picture, in pixels: the fields Largeur (hint Largeur en pixels) and Hauteur (hint Hauteur en pixels). Between them is the button with the hint Conserver les proportions. 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​

Enregistrer 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 Enregistrement….

  • 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 Actions sur le document), the item Historique. An earlier version opens in the same editor, without tools, and Restaurer cette 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 Une modification d'une autre personne se trouvait en dessous; the version it replaced stays in the history.

What's next​