diff --git a/.gitignore b/.gitignore index 6bc1d4e..d745815 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ build/* debian/build/* debian/debhelper-build-stamp *debhelper.log +.flatpak-builder diff --git a/README.md b/README.md index b51b783..cb0fda5 100644 --- a/README.md +++ b/README.md @@ -6,19 +6,17 @@

-Quickly resize images from the context menu. +Quickly resize images. Features: -- Use from context menu: right click on image(s), and select "Resize images". -- Use from Applications menu: Drag and drop image(s). +- Open images with Resizer or open Reizer and Drag and drop images - Maintains aspect ratio. - Keyboard control: Change the sizes using the up and down keys, press enter to resize. - Settings are stored for next time. -![Screenshot 1](screenshot.png) -![Screenshot 2](screenshot2.png) -![Screenshot 3](screenshot3.png) -![Screenshot 4](screenshot4.png) -![Screenshot 5](screenshot5.png) +![Screenshot resize image](screenshot.png) +![Screenshot without images](screenshot2.png) +![Screenshot resize multiple images](screenshot3.png) +![Screenshot error](screenshot4.png) ## Building, Testing, and Installation @@ -50,5 +48,5 @@ Generate / update `.po` files: ## Credits -A lot of the code is inspired by the [elementary Screenshot tool](https://github.com/elementary/screenshot-tool) and Felipe Escoto's [wallpaperize](https://github.com/Philip-Scott/wallpaperize). +A lot of the code is inspired by the [elementary Screenshot tool](https://github.com/elementary/screenshot-tool) and Felipe Escoto's [wallpaperize](https://github.com/Philip-Scott/wallpaperize). The icon is based on the [elementary Photos icon](https://github.com/elementary/icons/blob/master/apps/128/multimedia-photo-manager.svgs) and was greatly improved by [TraumaD](https://github.com/TraumaD). diff --git a/com.github.peteruithoven.resizer.yml b/com.github.peteruithoven.resizer.yml new file mode 100644 index 0000000..e2258f9 --- /dev/null +++ b/com.github.peteruithoven.resizer.yml @@ -0,0 +1,55 @@ +# This is the same ID that you've used in meson.build and other files +app-id: com.github.peteruithoven.resizer + +# Instead of manually specifying a long list of build and runtime dependencies, +# we can use a convenient pre-made runtime and SDK. For this example, we'll be +# using the runtime and SDK provided by elementary. +runtime: io.elementary.Platform +runtime-version: '6' +sdk: io.elementary.Sdk + +# This should match the exec line in your .desktop file and usually is the same +# as your app ID +command: com.github.peteruithoven.resizer + +# Here we can specify the kinds of permissions our app needs to run. Since we're +# not using hardware like webcams, making sound, or reading external files, we +# only need permission to draw our app on screen using either X11 or Wayland. +finish-args: + - '--share=ipc' + - '--socket=fallback-x11' + - '--socket=wayland' + - '--filesystem=home' + +# This section is where you list all the source code required to build your app. +# If we had external dependencies that weren't included in our SDK, we would list +# them here. +modules: + - name: resizer + buildsystem: meson + sources: + - type: dir + path: . + # Inspiration: https://github.com/ImageMagick/ImageMagick6/releases/tag/6.9.12-19 + - name: imagemagick + config-opts: + - --enable-shared + - --disable-static + - --with-modules + - --with-x + - --with-threads + - --with-magick_plus_plus + - --with-gslib + - --with-wmf + - --with-webp + - --with-openexr + - --with-rsvg + - --with-xml + - --with-jbig + - --with-openjp2 + sources: + - type: archive + url: https://github.com/ImageMagick/ImageMagick6/archive/6.9.12-19.tar.gz + sha256: 2f184f1f5c3e19849347b2b4acb6dd074290903d36fa5924956ee06c85ddf783 + cleanup: + - /share/doc diff --git a/data/com.github.peteruithoven.resizer.appdata.xml.in b/data/com.github.peteruithoven.resizer.appdata.xml.in index 1d40fce..3ef9c27 100644 --- a/data/com.github.peteruithoven.resizer.appdata.xml.in +++ b/data/com.github.peteruithoven.resizer.appdata.xml.in @@ -5,17 +5,16 @@ CC0 GPL-3.0+ Resizer - Quickly resize images from the context menu + Quickly resize images

- A simple image resizer that resizes one or more images, usable from the context menu or as a standalone app. + A simple image resizer that resizes one or more images.

Features: