-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImageMagick 6/7 is not picked up after placing it in preferences and exporting #251
Comments
Thank you for reporting this. This is a "security" limitation of Flathub installations: they cannot start other programs. Perhaps in the future ImageMagick 7 will be included in the flathub package (I actually tried this in 4.3.0, but something went wrong...) ImageMagick should work (it must be version 7, because Pixelitor is looking for the "magick" command) with the jar installation. I am also considering releasing rpm and deb packages. For the time being I added a warning about this problem to https://pixelitor.sourceforge.io/installation.html |
Hi @lbalazscs , if you want Imagemagick to also be available in the flatpak I think you just need to delete this line. But as you see that's a minimal Imagemagick (only used to convert png's), so you would need to tweak the configure flags (i.e. removing |
Hi @nbenitez , Thank you for the advice! Actually I'm not sure if it would work even if ImageMagick was included in the package, because Pixelitor needs to find the packaged ImageMagick. Normally this happens either by running the "which" command (this is probably not allowed by flatpak) or the user can configure a directory, where Pixelitor looks for ImageMagick (probably difficult for the user to find). I wonder if there's a way to know whether an app is running inside flatpak (like an environmental variable) - perhaps then I could set the correct directory automatically. There is another flatpak-related issue (#271), here obviously I should increment the version number of org.freedesktop.Platform (it seems surprisingly difficult to find out the latest version number, but based on https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/releases it must be "22.08.2.1"), but I'm not sure whether this should wait until the next released version, or I should re-release the last version with a new org.freedesktop.Platform. Is it a good practice to "overwrite" released versions? |
I'm on Fedora Silverblue 35.
I installed it with the recommended
flatpak install flathub io.sourceforge.Pixelitor
First Attempt I proceeded to install ImageMagick 6 using
sudo rpm-ostree install ImageMagick
I went in preferences and pointed to
/usr/bin/
because that's where identify and convert are installed.After going to file->ImageMagick->export... and saving as blah.exr it errored out and brought me into some java details window.
Second Attempt I proceeded to install ImageMagick 7 using the AppImage directly from ImageMagick.org.
I placed magick in
$HOME/ImageMagick7
then changed the permissions to executable. I went in preferences and pointed to$HOME/ImageMagick7
. After going to file->ImageMagick->export... and saving as blah.exr it errored out and brought me into some java details window.The text was updated successfully, but these errors were encountered: