Skip to main content

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 บันทึก: 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 บันทึก in the top bar.

The editor opens on the ปรับละเอียด tab with the ความสว่าง tool selected.

While there are edits that are not saved, the header of the file shows ยังไม่บันทึก; after saving it shows บันทึกแล้ว. 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 … กำลังแก้ไขเอกสารนี้; 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 เมนู.
  • บันทึก — 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 ขนาดรูปภาพที่จะบันทึก (กว้าง × สูง).
  • The button with the hint แสดงรูปภาพต้นฉบับ: 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 ซูมออก and ซูมเข้า and the current percentage between them. A click on the percentage (its hint is เมนูซูม) opens a menu: พอดีกับหน้าต่าง, ขนาดจริง (100%), 25 %, 50 %, 75 %, 125 %, 170 %, 300 %, 500 % and 1000 %. While the ครอบตัด tool is selected, the zoom is unavailable.
  • At the right, three buttons: รีเซ็ตการเปลี่ยนแปลงทั้งหมด, เลิกทำการดำเนินการล่าสุด and ทำซ้ำการดำเนินการที่เลิกทำ. 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 คำเตือน with the text ละทิ้งการเปลี่ยนแปลงหรือไม่? การเปลี่ยนแปลงจะไม่ถูกบันทึก and the buttons ยืนยัน and ยกเลิก. The button is inactive until the first edit.

The tabs​

The tabs stand in a column at the left: ครอบตัดภาพ, ปรับละเอียด, ตัวกรอง, ลายน้ำ, มาร์กอัป and ปรับขนาด. 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:

  • ครอบตัด — a click opens a menu of frame shapes: กำหนดเอง (a free frame), ต้นฉบับ (a frame in the proportion of the picture), แนวนอน (16:9), แนวตั้ง (9:16) and วงรี (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 ปรับขนาด tab while it was not smaller before, a warning appears: พื้นที่ครอบตัดที่เลือกเล็กกว่าขนาดที่กำหนด คุณภาพอาจลดลง
  • หมุน — two buttons turn the picture by 90 degrees, counterclockwise and clockwise; the slider turns it by any angle from −180 to 180 degrees.
  • พลิกแนวนอน and พลิกแนวตั้ง — mirror the picture horizontally or vertically at one click. After the click the name of the button becomes ยกเลิกการพลิกแนวนอน or ยกเลิกการพลิกแนวตั้ง, and the next click returns the picture.

The Finetune tab​

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

  • ความสว่าง — the slider ความสว่าง.
  • คอนทราสต์ — the slider คอนทราสต์.
  • เฉดสีและความอิ่มตัว — three sliders: เฉดสี, ความอิ่มตัว and ค่าความสว่าง.
  • เบลอ — the slider เบลอ.
  • ความอบอุ่น — the slider ความอบอุ่น.

The Filters tab​

ตัวกรอง 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: ข้อความ, รูปภาพ, สี่เหลี่ยมผืนผ้า, วงรี, รูปหลายเหลี่ยม, ปากกา, เส้นตรง and ลูกศร.

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 ปากกา 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 รูปภาพ 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
ข้อความ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 แบบอักษร: Arial, Tahoma, Sans-serif or Comic Sans), the field ขนาด, the bold and italic buttons, การจัดแนวข้อความ, ระยะห่างข้อความ and the common settings below.
รูปภาพAnother picture on top of yours.The button + เพิ่มรูปภาพ (hint เลือกรูปภาพที่จะเพิ่ม…) and the common settings below, except the fill color.
สี่เหลี่ยมผืนผ้าA rectangle.The fill color, ความโค้งของมุม and the common settings below.
วงรีAn oval.The fill color and the common settings below.
รูปหลายเหลี่ยมA regular polygon.The fill color, จำนวนด้าน (from 3 to 25) and the common settings below, except the position.
ปากกาA freehand line.ความทึบแสง, เส้นขอบ and เงา.
เส้นตรงA straight line.ความทึบแสง, เส้นขอบ and เงา.
ลูกศรAn arrow.ความทึบแสง, เส้นขอบ and เงา.

The button + เพิ่มรูปภาพ 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 ไม่ใช่รูปภาพ (for several files ไม่ใช่รูปภาพ) and จึงอัปโหลดไม่ได้. A picture that could not be read gives the notice ไม่สามารถอัปโหลดรูปภาพได้

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);
  • ความทึบแสง — a window with the slider ความโปร่งใส in percent: at 100 % the element is fully opaque, the lower the value, the more see-through it is;
  • เส้นขอบ — the width of the outline in pixels and the outline color;
  • เงา — the window เงา with the sliders แนวนอน and แนวตั้ง (the offset in pixels), เบลอ and ความทึบแสง (in percent) and the shadow color;
  • ตำแหน่ง — the window ตำแหน่ง 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; การจัดแนวข้อความ opens a window with three buttons — the text at the left, at the center, at the right; ระยะห่างข้อความ opens a window with two sliders in pixels, ระยะห่างระหว่างตัวอักษร and ระยะห่างระหว่างบรรทัด, 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 + เพิ่มลายน้ำ (hint เลือกประเภทลายน้ำ; on a very narrow screen the button reads +). A click opens a menu of two items:

  • อัปโหลดลายน้ำ — pick a picture file; it is placed in the middle of the picture. If the file cannot be read, a notice says โหลดรูปภาพไม่สำเร็จ
  • เพิ่มเป็นข้อความ — 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, ระยะขอบ: a window with the slider ระยะขอบ in pixels, from 0 to 100.

The Resize tab​

The tab sets the size of the saved picture, in pixels: the fields ความกว้าง (hint ความกว้างเป็นพิกเซล) and ความสูง (hint ความสูงเป็นพิกเซล). Between them is the button with the hint ล็อกสัดส่วน. 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​

บันทึก 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 กำลังบันทึก….

  • 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 การดำเนินการกับเอกสาร), the item ประวัติ. An earlier version opens in the same editor, without tools, and กู้คืนเวอร์ชันนี้ 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 มีการแก้ไขของคนอื่นซ่อนอยู่ด้านล่าง; the version it replaced stays in the history.

What's next​