Convert 'view.jpg' to 'view.jxl' tool
To fork this repository, follow these steps:
- Navigate to the repository page on GitHub.
- Click the "Fork" button in the upper right corner of the page.
- Select your GitHub account to create the fork.
To create a GitHub token, follow these steps:
- Go to GitHub and log in to your account.
- Click on your profile picture in the upper right corner and select "Settings".
- In the left sidebar, click on "Developer settings".
- Click on "Personal access tokens" and then "Tokens (classic)".
- Click the "Generate new token" button.
- Fill in the "Note" field with a descriptive name for the token.
- Select the scopes or permissions you need for the token.
- Click the "Generate token" button.
- Copy the generated token and save it in a secure place.
To set up the WITH_GITHUB_TOKEN
action secret in GitHub:
- Go to the repository page on GitHub.
- Click on the "Settings" tab.
- In the left sidebar, click on "Secrets and variables" and then "Actions".
- Click the "New repository secret" button.
- Name the secret
WITH_GITHUB_TOKEN
and paste your GitHub token in the "Value" field. - Click "Add secret".
To modify the image name and push it to GitHub:
- Rename your JPEG image to
view.jpg
. - Place the
view.jpg
file in theimg
folder of the repository. - Commit and push the changes to your forked repository:
git add img/view.jpg git commit -m "Add view.jpg to img folder" git push origin main
To create and publish a release on GitHub:
- Go to the repository page on GitHub.
- Click on the "Releases" tab.
- Click the "Draft a new release" button.
- Fill in the "Tag version" and "Release title" fields.
- Click the "Publish release" button.
After publishing the release, wait for the GitHub Action to complete. Once done, you will find the jxl_file-${release_tag_name}.tar.gz
file containing the converted .jxl
file on the release page created in step 4.