Initial setup of the local flatpak repository: ```sh wget https://raw.githubusercontent.com/maoschanz/drawing/master/com.github.maoschanz.drawing.json flatpak-builder --force-clean _build2/ --repo=_repo com.github.maoschanz.drawing.json flatpak --user remote-add --no-gpg-verify local-drawing-repo _repo flatpak --user install local-drawing-repo com.github.maoschanz.drawing ``` Update: ```sh flatpak-builder --force-clean _build2/ --repo=_repo com.github.maoschanz.drawing.json flatpak update ```
How to set up the debian experimental repository ```sh sudo apt -t experimental install drawing ```
](https://flathub.org/apps/details/com.github.maoschanz.drawing).
### Other packages available
[](https://repology.org/project/drawing/versions)
- Ubuntu 18.04, 20.10 and 21.04: [PPA](https://launchpad.net/~cartes/+archive/ubuntu/drawing/)
- [Gentoo package](https://gitlab.com/src_prepare/src_prepare-overlay/-/tree/master/media-gfx/drawing) from an external overlay
- ["Snap" package](https://snapcraft.io/drawing)
### Unstable/nightly version
[See here](./CONTRIBUTING.md#install-from-source-code) to install and test the
app from source code.
----
### Available languages
If your language is not here, or is incompletely translated, you can
[contribute](./CONTRIBUTING.md#translating) to the translations.
| code | name | complete*? | main translators |
|------|--------------|------------|-------------------------------------------|
| cs | Czech | 90% | @pervoj |
| ca | Catalan | 89% | @jordimas |
| da | Danish | 81% | @scootergrisen |
| de | German | 100% | @Etamuk |
| | English | 100% | help welcome ** |
| es | Castillan | 100% | @fitojb, @xoan, @oscfdezdz |
| eu | Basque | 86% | @alexgabi |
| fi | Finnish | **60%** | @mahtiankka |
| fr | French | 100% | |
| he | Hebrew | **61%** | @moriel5, @shaqash, @omeritzics |
| hi | Hindi | ~20% | @sujaldev |
| hr | Croatian | 99% | @milotype |
| hu | Hungarian | **50%** | @kami911 |
| id | Indonesian | 61% | @ekickx |
| it | Italian | 99% | @amivaleo and @albanobattistella |
| ja | Japanese | 90% | @rlbxku1r |
| kr | Korean | 85% | @chaeya |
| nl | Dutch | 96% | @Vistaus |
| oc | Occitan | 35% | @Mejans |
| pl | Polish | 100% | @pkomur |
| pt_BR | Br. portuguese | 100% | @haurenburu and @ArthurBacci64 |
| ru | Russian | 99% | @tim77 and @Ser82-png |
| sv | Swedish | 95% | @eson57 |
| tr | Turkish | 100% | @TeknoMobil and @serkan-maker |
| zh_CN | Chinese, simpl. | 64% | @OverflowCat |
| zh_TW | Chinese, tradi. | 65% | @pan93412, @OverflowCat and @cges30901 |
\*Completion percentages correspond to **the next** major version, still in
development.
\**Concerning the "original version" in english: all the labels are here, but
i'm **not** a native english speaker, so there might be mistakes. If you find
incorrect english labels, please report an issue about it.
----
### Tools
(last update: **version 1.0.0**)
*Tools in italic can be disabled.*
#### Classic tools
These tools have many options (colors, antialiasing, size, gradients, dashes,
outline style, …) that are not listed here.
- Pencil
- *Brushes (pressure sensitive):*
- *Simple round brush*
- *Hairy brush*
- *Airbrush*
- *Calligraphic nibs*
- *Eraser*
- *Highlighter*
- Line
- Curve
- Insert text
- *Insert points, to help captioning*
- Shape:
- rectangle
- rounded rectangle
- circle
- oval
- polygon
- free shape
- *Color picker*
- *Paint*
#### Selection tools
These tools allow you to define an area (rectangle or free), which you can move,
cut, copy, paste, edit with any transformation tool, export, open as a new
image, etc.
- Rectangle selection
- Free shape selection
- *Adjacent color selection*
#### Transformation tools
These tools can edit the whole image, or edit a selected part of it.
- Crop
- Scale
- Rotate (rotate or flip)
- Filters:
- Saturation (increase or decrease)
- Transparency
- Increase contrast
- Blur (various types)
- Pixelization
- Invert colors
- Skew
----
### Settings
The settings are managed by the `Gio.Settings` abstraction, which will probably
corresponds to the `dconf` database once the app is installed as a native
package.
With flatpak however, the settings are stored in a key-value file, which can be
found (and edited) at `~/.var/app/com.github.maoschanz.drawing/config/glib-2.0/settings/keyfile`.
----
[Donations (paypal)](https://paypal.me/maoschannz)
[To contribute](./CONTRIBUTING.md)
the code is under GPL3, some tools icons are from [here](https://github.com/gnome-design-team/gnome-icons/tree/master/art-libre-symbolic) or from the [Adwaita icon theme](https://gitlab.gnome.org/GNOME/adwaita-icon-theme).
drawing-1.0.2/build-aux/ 0000775 0000000 0000000 00000000000 14376126543 0015052 5 ustar 00root root 0000000 0000000 drawing-1.0.2/build-aux/meson/ 0000775 0000000 0000000 00000000000 14376126543 0016173 5 ustar 00root root 0000000 0000000 drawing-1.0.2/build-aux/meson/postinstall.py 0000775 0000000 0000000 00000001163 14376126543 0021125 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python3
from os import environ, path
from subprocess import call
prefix = environ.get('MESON_INSTALL_PREFIX', '/usr')
datadir = path.join(prefix, 'share')
destdir = environ.get('DESTDIR', '')
# Package managers set this so we don't need to run
if not destdir:
print('Updating icon cache…')
call(['gtk-update-icon-cache', '-qtf', path.join(datadir, 'icons', 'hicolor')])
print('Updating desktop database…')
call(['update-desktop-database', '-q', path.join(datadir, 'applications')])
print('Compiling GSettings schemas…')
call(['glib-compile-schemas', path.join(datadir, 'glib-2.0', 'schemas')])
drawing-1.0.2/com.github.maoschanz.drawing.json 0000664 0000000 0000000 00000000745 14376126543 0021534 0 ustar 00root root 0000000 0000000 {
"app-id" : "com.github.maoschanz.drawing",
"runtime" : "org.gnome.Platform",
"runtime-version" : "43",
"sdk" : "org.gnome.Sdk",
"command" : "drawing",
"finish-args" : [
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--metadata=X-DConf=migrate-path=/com/github/maoschanz/drawing/"
],
"modules" : [{
"name" : "drawing",
"buildsystem" : "meson",
"sources" : [{
"type" : "dir",
"path" : "."
}]
}],
"build-options" : {
"env" : {
}
}
}
drawing-1.0.2/data/ 0000775 0000000 0000000 00000000000 14376126543 0014071 5 ustar 00root root 0000000 0000000 drawing-1.0.2/data/com.github.maoschanz.drawing.appdata.xml.in 0000664 0000000 0000000 00000015331 14376126543 0024307 0 ustar 00root root 0000000 0000000
This basic image editor can resize, crop, or rotate an image, apply simple filters, insert or censor text, and manipulate a selected portion of the picture (cut/copy/paste/drag/…)
And of course, you can draw! Using tools such as the pencil, the straight line, the curve tool, many shapes, several brushes, and their various colors and options.
Supported file types include PNG, JPEG and BMP.
Version 1.0.2 features several minor bug fixes, and various new translations.
Saving the image should be more reliable, especially when replacing the transparent pixels with a solid color. Pictures are now automatically reloaded from the disk after being saved.
The user interface of the "select" tool changed, as well as the keyboard shortcuts to change tab.
A small rendering issue when previewing a blur filter has also been fixed.
Version 1.0.1 features several minor bug fixes, and various new translations.
By popular demand, the "highlighter" tool is now enabled by default, and the message dialog to warn you about the release notes is less intrusive.
The main improvement in this update is the zoom workflow: since the version 1.0.0 it's possible to zoom in very deep, but the process was very slow, and the view didn't stay well centered around the mouse pointer; and once at 2000%%, scrolling up or down, or left or right, was quite violent. These problems should all have disappeared in this new version!
Incorrect command line parsing when using the app outside of a flatpak sandbox has also been fixed.
For users on elementary OS, a small issue concerning window resizing has been mended too.
Version 1.0.0 improves rendering performance, which is visible when editing large images with a poor CPU.
You can now use the new "skew" tool, to tilt an image from a rectangle to a parallelogram. Such a deformation can be applied horizontally or vertically.
You can select tools with keyboard accelerators (Alt+letter). This may not work yet with languages using a non-latin alphabet.
Zooming very deep is now possible, and the rendering will be very crisp, even at 2000%%.
Pressing "ctrl" will display the cursor coordinates in a tooltip. If you do it while using a tool, it may display additional data, for example the dimensions of the shape you're drawing!
Pressing "shift", or "alt" when using a tool enables specific options, such as locking the direction for the "line" tool, or changing the filling style of a shape.
Using the "scale" tool, you may optionally set the new size as a relative percentage rather than an absolute value in pixels.