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 | 96% | @pervoj |
| da | Danish | 92% | @scootergrisen |
| de | German | 99% | @Etamuk |
| | English | 100% | help welcome ** |
| es | Castillan | 100% | @fitojb and @xoan |
| eu | Basque | 88% | @alexgabi |
| fi | Finnish | 75% | @mahtiankka |
| fr | French | 100% | |
| he | Hebrew | **39%** | @moriel5 and @shaqash |
| hr | Croatian | 78% | @milotype |
| hu | Hungarian | **62%** | @kami911 |
| id | Indonesian | 76% | @ekickx |
| it | Italian | 97% | @amivaleo and @albanobattistella |
| ja | Japanese | 100% | @rlbxku1r |
| kr | Korean | 100% | @chaeya |
| nl | Dutch | 100% | @Vistaus |
| pl | Polish | **72%** | @pkomur) |
| pt_BR | Br. portuguese | 81% | @haurenburu and @ArthurBacci64 |
| ru | Russian | 99% | @tim77 and @Ser82-png |
| sv | Swedish | 100% | @eson57 |
| tr | Turkish | 100% | @TeknoMobil and @serkan-maker |
| zh_CN | Chinese, simpl. | 80% | @OverflowCat |
| zh_TW | Chinese, tradi. | 81% | @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 0.8.0**)
*Tools in italic can be disabled.*
#### Classic tools
General options for these tools: colors, use antialiasing, size, …
- Pencil (options: dashes, line shape, outline, …)
- *Brushes (pressure sensitive)*:
- *Simple round brush*
- *Hairy brush*
- *Airbrush*
- *Calligraphic nibs*
- *Eraser* (options: blur, mosaic, transparency, solid color, …)
- *Highlighter* (options: highlight on dark background)
- Line (options: arrow, dashes, gradient, …)
- Curve (options: arrow, dashes, …)
- Insert text (options: font, shadow/outline, font size, …)
- *Insert points (options: shape of the points, include a number, …) to help captioning*
- Shape (options: filling style, outline style, gradient, …):
- rectangle
- rounded rectangle
- circle
- oval
- polygon
- free shape
- *Color picker*
- *Paint (options: remove a color, …)*
#### 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 (options: keep proportions or not)
- Rotate (rotate or flip)
- Filters:
- Saturation (increase or decrease)
- Transparency
- Increase contrast
- Blur (various types)
- Pixelization
- Invert colors
----
### 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-0.8.5/build-aux/ 0000775 0000000 0000000 00000000000 14152750250 0015052 5 ustar 00root root 0000000 0000000 drawing-0.8.5/build-aux/meson/ 0000775 0000000 0000000 00000000000 14152750250 0016173 5 ustar 00root root 0000000 0000000 drawing-0.8.5/build-aux/meson/postinstall.py 0000775 0000000 0000000 00000001163 14152750250 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-0.8.5/com.github.maoschanz.drawing.json 0000664 0000000 0000000 00000000745 14152750250 0021534 0 ustar 00root root 0000000 0000000 {
"app-id" : "com.github.maoschanz.drawing",
"runtime" : "org.gnome.Platform",
"runtime-version" : "41",
"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-0.8.5/data/ 0000775 0000000 0000000 00000000000 14152750250 0014071 5 ustar 00root root 0000000 0000000 drawing-0.8.5/data/com.github.maoschanz.drawing.appdata.xml.in 0000664 0000000 0000000 00000017374 14152750250 0024320 0 ustar 00root root 0000000 0000000
"Drawing" is a basic image editor, supporting PNG, JPEG and BMP file types.
It allows you to draw or edit pictures with tools such as pencil, line or arc (with various options), selection (cut/copy/paste/drag/…), shapes (rectangle, circle, polygon, …), text insertion, resizing, cropping, rotating, …
Version 0.8.5 features several minor bug fixes, and various new translations.
Version 0.8.4 features several minor bug fixes, and various new translations.
Undoing several operations one after another should be less slow.
It's not possible anymore to reload the picture from the disk if it has never been saved on the disk to begin with.
The text tool gains an option to disable anti-aliasing.
Version 0.8.3 features several minor bug fixes, and various new translations.
After rotating the selection, it had an incorrectly big height, but now it's fixed.
The outline of the free selection is now visible even when the image is very zoomed out.
Version 0.8.2 features several minor bug fixes, and various new translations.
The boundaries of the canvas are now always visibly delimited, to better render the area where you can draw, even if the canvas is transparent. It also helps to see what parts of the selection may disappear when you will unselect it.
Transform tools can now draw a preview of the pixels they may create outside of the current canvas, which makes the 'crop', 'scale', and 'rotate' tools more intuitive to use.
The straight line tool has a new option to lock its angle, so you can draw perfect horizontal, vertical, or 45° strokes.
The `--edit-clipboard` command line option now works with Wayland.
Scaling an image using the numerical inputs now preserves the original proportions of the image (unless the "never keep proportions" option is enabled).
This version of the app is compatible with older GNOME versions (Ubuntu LTS 18.04).
Version 0.8.1 features several minor bug fixes, and various new translations.
You can now crop or expand the canvas to a size based on the current selection size, using new actions available in the selection menus.
A bug, where the "crop" tool could erase the image under certain conditions, has been fixed.
In the preferences window, there is now an option to select if you prefer the dark theme variant.
Several options have been added, to the "calligraphic nib" brush, the "eraser" tool, and the "pencil".
With Drawing 0.8.0, you can finally use a tablet and a stylus to draw with pressure-sensitive tools, such as the new 'brush' and 'airbrush'.
The fullscreen mode has been completely redesigned to provide an easier yet less intrusive access to the tools and their options.
Filters have been rewritten to be more reliable, and a new filter to harmoniously increase contrast has been added.
When you move or delete the selection, now the pixels left behind can optionally be a specific color, rather than always transparency. This specific color can be excluded from the selection. That feature is complex to explain with words, try it yourself you'll see.
Options such as the text background type and the shape filling style are now persisted when closing the application.
The user interface for selecting the active color application mode has been rewritten to better show the accurate label, and better organize the possible modes as submenus.
The "blur" mode has been removed, which simplified the situation and allowed several tools ("shapes" and "brushes") to get support for the color application modes in general.