nate-xyz / conjure Goto Github PK
View Code? Open in Web Editor NEWMagically transform your images.
Home Page: https://beta.flathub.org/apps/io.github.nate_xyz.Conjure
License: GNU General Public License v3.0
Magically transform your images.
Home Page: https://beta.flathub.org/apps/io.github.nate_xyz.Conjure
License: GNU General Public License v3.0
If checked, updates the other field as the one being edited changes.
Zoom in order to compare changes
https://gitlab.gnome.org/bertob/app-ideas/-/issues/173#note_1681732
Hi, I just installed Conjure using this manifest and got this error after installation.
flatpak run io.github.nate_xyz.Conjure
Traceback (most recent call last):
File "/app/lib/python3.10/site-packages/wand/api.py", line 154, in <module>
libraries = load_library()
File "/app/lib/python3.10/site-packages/wand/api.py", line 143, in load_library
raise IOError('cannot find library; tried paths: ' + repr(tried_paths))
OSError: cannot find library; tried paths: []
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/bin/conjure", line 57, in <module>
from conjure import main
File "/app/share/conjure/conjure/main.py", line 26, in <module>
from conjure.app import App
File "/app/share/conjure/conjure/app.py", line 24, in <module>
from conjure.window import Window
File "/app/share/conjure/conjure/window.py", line 25, in <module>
from conjure.views import ImageDropPage
File "/app/share/conjure/conjure/views/__init__.py", line 1, in <module>
from .image_drop_page import ImageDropPage
File "/app/share/conjure/conjure/views/image_drop_page.py", line 5, in <module>
from wand.display import display
File "/app/lib/python3.10/site-packages/wand/display.py", line 31, in <module>
from .image import Image
File "/app/lib/python3.10/site-packages/wand/image.py", line 18, in <module>
from . import assertions
File "/app/lib/python3.10/site-packages/wand/assertions.py", line 155, in <module>
from .color import Color # noqa: E402
File "/app/lib/python3.10/site-packages/wand/color.py", line 10, in <module>
from .api import library
File "/app/lib/python3.10/site-packages/wand/api.py", line 178, in <module>
raise ImportError('MagickWand shared library not found.\n'
ImportError: MagickWand shared library not found.
You probably had not installed ImageMagick library.
Try to install:
https://docs.wand-py.org/en/latest/guide/install.html
The app used 1.5GB of memory and 90% of CPU for several minutes and nothing happened to the image (it's fairly large tough, 24MP 6000x4000). I tried to apply a gaussian blur.
specs.:
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 5.19.0-41-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060/PCIe/SSE2
(conjure:2): Gdk-WARNING **: 20:49:45.996: Server is missing xdg_foreign support
(conjure:2): Gtk-WARNING **: 20:49:45.996: Failed to export handle, could not set transient for
2023-04-30 20:49:59.236 | DEBUG | conjure.magic:open:27 - original folder: /run/user/1000/doc/de80a14d
2023-04-30 20:49:59.237 | DEBUG | conjure.magic:open:31 - original filename DSC04922.JPG
2023-04-30 20:49:59.915 | DEBUG | conjure.views.command_panel:on_command_change:40 - on_command_change 0
2023-04-30 20:50:06.239 | DEBUG | conjure.views.command_panel:on_command_change:40 - on_command_change 4
2023-04-30 20:50:06.241 | DEBUG | conjure.views.commands.blur:on_command_change:25 - on_command_change
2023-04-30 20:50:06.243 | DEBUG | conjure.views.command_panel:start_job:177 - start_job
2023-04-30 20:50:06.243 | DEBUG | conjure.magic:blur:135 - blur 139625415951936
2023-04-30 20:50:06.494 | DEBUG | conjure.magic:blur:138 - 0.0 3.0
2023-04-30 20:50:06.496 | DEBUG | conjure.magic:blur:139 - /run/user/1000/doc/de80a14d/DSC04922.JPG
2023-04-30 20:50:09.720 | DEBUG | conjure.views.command_panel:job_done:209 - job_done
2023-04-30 20:50:10.159 | DEBUG | conjure.views.commands.radius_sigma:on_spin_change:37 - 0.1
2023-04-30 20:50:10.159 | DEBUG | conjure.views.command_panel:start_job:177 - start_job
2023-04-30 20:50:10.159 | DEBUG | conjure.views.command_panel:kill:251 - killing 139627031365440
2023-04-30 20:50:10.159 | DEBUG | conjure.magic:blur:135 - blur 139625407559232
2023-04-30 20:50:10.411 | DEBUG | conjure.magic:blur:138 - 0 3.0
2023-04-30 20:50:10.413 | DEBUG | conjure.magic:blur:139 - /run/user/1000/doc/de80a14d/DSC04922.JPG
...
2023-04-30 20:50:28.291 | DEBUG | conjure.views.commands.radius_sigma:on_spin_change:37 - 15.89999999999996
2023-04-30 20:50:28.291 | DEBUG | conjure.views.command_panel:start_job:177 - start_job
2023-04-30 20:50:28.291 | DEBUG | conjure.views.command_panel:kill:251 - killing 139627031365440
2023-04-30 20:50:28.295 | DEBUG | conjure.magic:blur_gaussian:173 - blur_gaussian 139625365595712
2023-04-30 20:50:28.341 | DEBUG | conjure.views.commands.radius_sigma:on_spin_change:37 - 15.99999999999996
2023-04-30 20:50:28.341 | DEBUG | conjure.views.command_panel:start_job:177 - start_job
2023-04-30 20:50:28.342 | DEBUG | conjure.views.command_panel:kill:251 - killing 139627031365440
2023-04-30 20:50:28.350 | DEBUG | conjure.magic:blur_gaussian:173 - blur_gaussian 139626484323904
2023-04-30 20:50:28.392 | DEBUG | conjure.views.commands.radius_sigma:on_spin_change:37 - 16.09999999999996
2023-04-30 20:50:28.392 | DEBUG | conjure.views.command_panel:start_job:177 - start_job
2023-04-30 20:50:28.392 | DEBUG | conjure.views.command_panel:kill:251 - killing 139627031365440
2023-04-30 20:50:28.401 | DEBUG | conjure.magic:blur_gaussian:173 - blur_gaussian 139624982750784
2023-04-30 20:50:28.442 | DEBUG | conjure.views.commands.radius_sigma:on_spin_change:37 - 16.19999999999996
2023-04-30 20:50:28.442 | DEBUG | conjure.views.command_panel:start_job:177 - start_job
2023-04-30 20:50:28.442 | DEBUG | conjure.views.command_panel:kill:251 - killing 139627031365440
2023-04-30 20:50:28.465 | DEBUG | conjure.magic:blur_gaussian:173 - blur_gaussian 139625373988416
2023-04-30 20:50:28.493 | DEBUG | conjure.views.commands.radius_sigma:on_spin_change:37 - 16.29999999999996
2023-04-30 20:50:28.494 | DEBUG | conjure.views.command_panel:start_job:177 - start_job
2023-04-30 20:50:28.494 | DEBUG | conjure.views.command_panel:kill:251 - killing 139627031365440
2023-04-30 20:50:28.514 | DEBUG | conjure.magic:blur_gaussian:173 - blur_gaussian 139624991143488
2023-04-30 20:50:28.545 | DEBUG | conjure.views.commands.radius_sigma:on_spin_change:37 - 16.399999999999963
2023-04-30 20:50:28.546 | DEBUG | conjure.views.command_panel:start_job:177 - start_job
2023-04-30 20:50:28.546 | DEBUG | conjure.views.command_panel:kill:251 - killing 139627031365440
2023-04-30 20:50:28.578 | DEBUG | conjure.magic:blur_gaussian:173 - blur_gaussian 139626712913472
2023-04-30 20:50:28.843 | DEBUG | conjure.magic:blur_gaussian:176 - 16 3.0
2023-04-30 20:50:28.845 | DEBUG | conjure.magic:blur_gaussian:177 - /run/user/1000/doc/de80a14d/DSC04922.JPG
2023-04-30 20:51:14.181 | DEBUG | conjure.views.command_panel:job_done:209 - job_done
2023-04-30 20:51:24.582 | DEBUG | conjure.views.commands.radius_sigma:on_spin_change:37 - 100.0
2023-04-30 20:51:24.583 | DEBUG | conjure.views.command_panel:start_job:177 - start_job
2023-04-30 20:51:24.583 | DEBUG | conjure.views.command_panel:kill:251 - killing 139627031365440
2023-04-30 20:51:24.583 | DEBUG | conjure.magic:blur_gaussian:173 - blur_gaussian 139626492716608
2023-04-30 20:51:24.835 | DEBUG | conjure.magic:blur_gaussian:176 - 100 3.0
2023-04-30 20:51:24.836 | DEBUG | conjure.magic:blur_gaussian:177 - /run/user/1000/doc/de80a14d/DSC04922.JPG
You can link your Github account on Flathub beta website to make your app get a verification mark. Over 300 apps are now verified on Flathub.
Hi, I tried to open a webp image and got an error.
I fully translated Conjure to Turkish but the "Error!" string seems untranslated.
Source line
https://github.com/nate-xyz/conjure/blob/main/conjure/window.py#L101
Translation
it'd be nice if it was possible to crop in the usual way by drawing a bounding box
Basic help is handy on any tool. Not least to explain odd tricks.
I guess, if you really want to conjure, one of the most needed crop features, most missing from tools is this one.
Use case: scanned an image on a flatbed scanner. Want the bounding box crop.
Implementation. Scan the framing pixels if they are uniform within the threshold (however measured) Repeat for each edge, examining the next row/column of pixels in, and while uniform within threshold continue. Stop when threshold exceeded. Thus produced, a bounding box is defined, crop to that.
Ideally, mark it as a rectangle in response to threshold selections.
Hi, there is a papercut here. base_name defined but unused.
def open_image_toast(self, uri):
base_name = html.escape(os.path.basename(uri))
self.add_success_toast(_("Opened image:"), os.path.basename(uri))
Source: https://github.com/nate-xyz/conjure/blob/main/conjure/window.py#L106-L107
should be possible i think..
I have fully translated Conjure into Turkish.
However, when I was testing my translation, I realized that despite being marked as translatable, most of the GtkStringList items appear untranslated.
Hi, selecting a command in this centered layout feels like playing a childish game of "tag".
What I did:
See pix or gthumb for inspiration.
show metadata changes (esp file size)
https://gitlab.gnome.org/bertob/app-ideas/-/issues/173#note_1681732
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.