JakobDev/jdAnimatedImageEditor
1
2
Fork
You've already forked jdAnimatedImageEditor
4
A simple program for creating animated Images
  • Python 100%
2023年11月14日 08:41:27 +00:00
.woodpecker Rework AboutDialog 2023年11月06日 16:21:56 +01:00
deploy Translated using Weblate (Dutch) 2023年05月11日 10:37:33 +00:00
jdAnimatedImageEditor Translated using Weblate (Dutch) 2023年11月08日 11:13:37 +00:00
screenshots Move to Codeberg 2023年05月05日 13:02:16 +02:00
tools Sort Translators 2023年11月07日 10:21:44 +01:00
.editorconfig Add source 2022年07月01日 15:59:29 +02:00
.gitattributes Rework AboutDialog 2023年11月06日 16:21:56 +01:00
.gitignore Move to Codeberg 2023年05月05日 13:02:16 +02:00
BuildBackend.py Move to Codeberg 2023年05月05日 13:02:16 +02:00
install-unix-datafiles.py Move to Codeberg 2023年05月05日 13:02:16 +02:00
jdAnimatedImageEditor.py Add source 2022年07月01日 15:59:29 +02:00
LICENSE Add License 2022年11月29日 18:08:58 +00:00
MANIFEST.in Move to Codeberg 2023年05月05日 13:02:16 +02:00
pyproject.toml Add Woodpecker CI 2023年05月05日 14:48:23 +02:00
README.md Move to Codeberg 2023年05月05日 13:02:16 +02:00
requirements.txt Add requests to requirements.txt 2022年07月05日 08:08:23 +00:00
UpdateTranslations.py Add BuildTranslations script 2022年07月04日 19:09:26 +02:00

jdAnimatedImageEditor

A simple program for creating animated Images

jdAnimatedImageEditor

jdAnimatedImageEditor is a simple Program that lets you create and edit animated Images. It supports GIF and APNG. Import and export of Videos is also supported.

Install

Flatpak

You can get jdAnimatedImageEditor from Flathub

AUR

Arch Users can get jdAnimatedImageEditor from the AUR

pip

You can install jdAnimatedImageEditor from PyPI using pip:

pip install jdAnimatedImageEditor

Using this Method, it will not include a Desktop Entry or any other Data file, so you need to run jdAnimatedImageEditor from the Command Line. Use this only, when nothing else works.

From source

This is only for experienced Users and someone, who wants to package jdAnimatedImageEditor for a Distro. jdAnimatedImageEditorshould be installed as a Python package. You can use pip or any other tool that can handle Python packages. YOu need to have lrelease installed to build the Package. After that, you should run install-unix-datafiles.py which wil install things like the Desktop Entry or the Icon in the correct place. It defaults to /usr, but you can change it with the --prefix argument. It also applies the translation to this files. You need gettext installed to run install-unix-datafiles.py.

Here's a example of installing jdAnimatedImageEditor into /usr/local:

sudo pip install --prefix /usr/local .
sudo ./install-unix-datafiles.py --prefix /usr/local

Translate

You can help translating jdAnimatedImageEditor on Codeberg Translate

Develop

jdAnimatedImageEditoris written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both. You can run jdAnimatedImageEditor.pyto start jdAnimatedImageEditor from source and test your local changes. It ships with a few scripts in the tools directory that you need to develop.

CompileUI.py

This is the most important script. It will take all .ui files in jdAnimatedImageEditor/ui and compiles it to a Python class and stores it in jdAnimatedImageEditor/ui_compiled. Without running this script first, you can't start jdAnimatedImageEditor. You need to rerun it every time you changed or added a .ui file.

BuildTranslations.py

This script takes all .ts files and compiles it to .qm files. The .ts files are containing the translation source and are being used during the translation process. The .qm contains the compiled translation and are being used by the Program. You need to compile a .ts file to a .qm file to see the translations in the Program.

UpdateTranslations.py

This regenerates the .ts files. You need to run it, when you changed something in the source code. The .ts files are contains the line in the source, where the string to translate appears, so make sure you run it even when you don't changed a translatable string, so the location is correct.

UpdateUnixDataTranslations.py

This regenerates the translation files in deploy/translations. these files contains the translations for the Desktop Entry and the AppStream File. It uses gettext, as it is hard to translate this using Qt. These files just exists to integrate the translation with Weblate, because Weblate can't translate the Desktop Entry and the AppStream file. Make sure you run this when you edited one of these files. You need to have gettext installed to use it.