Archives For November 30, 1999

Got photo images but not clear enough? Or you want to convert them into 4K resolution without losing quality? This app can help!

It’s upscayl, a free and open-source app for Linux, Windows, and macOS. It uses AI modules to upscale single or batch of photo images into 7680×5120 (or double resolution 15360×10240). Supported AI modules so far include:

  • Real-ESRGAN
  • REMACRI
  • ULTRAMIX BALANCED
  • ULTRASHARP

The app has a quite easy to use user interface, which has a few buttons in left pane and image preview in right. Just follow the steps in the UI to select your Photo Image/Images, choose AI module, where to save output image, and finally click upscale.

There are as well advanced options to choose output image format: PNG, JPG or WEBP, change the app theme, and specify GPU ID for machine with multiple graphic cards. As you can see in screenshot above, output image and original one will be displayed side by side when process done, allowing to see the difference intuitively.

How to Install Upscayl in Ubuntu & other Linux

NOTE: The app needs Vulkan compatible GPU to upscale images. And, the upscale process can take long time depends on your machine.

The app offers official packages in it Github releases page available to download at the link blow:

For Linux, either download the non-install AppImage package. Right-click and go to file ‘Properties’, and enable ‘Allow executing file as program’ in Permissions tab. Finally click run AppImage at anytime to launch it. NOTE: Ubuntu 22.04+ need to enable AppImage support first by running sudo apt install libfuse2 in terminal.

For Debian/Ubuntu based systems, grab and click install the .deb package for choice. And, Fedora based systems can download and install the .rpm package instead.

Uninstall Upscayl

In case you installed the app using .deb or .rpm package, and you can’t find it in the Software app. Open a terminal window, and run command to remove it in Debian/Ubuntu:

sudo apt remove upscayl

For Fedora, just replace apt with dnf, so the command will be:

sudo dnf remove upscayl

The Hugin panorama photo stitcher finally announced the 2022.0.0 release! Ubuntu PPA updated for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04 and Ubuntu 22.10.

One year per release! The 2022 release is finally here, though there’s not so many changes!

  • Add simple edge fill option to fill black edges in panorama with homogenous color.
  • Simplified the assistant page with only the necessary GUI controls to make it more clear for beginners and casual users.
  • Several improvements to control points tab (e.g. magnifier displays now warped image for better judgement of wide angle/fisheye images).
  • Improved handling of duplicate control points when running cpfind.
  • Extended command line tools pto_mask (--delete-mask) and pano_modify (allow specifying crop relative to canvas size).

There are as well some bug-fixes in the release, including fulla flatfield extremely dark, high DPI display support for Windows, and Hugin Calibrate Lens launch issue on Debian Testing Cinnamon.

How to install Hugin 2022.0.0 in Ubuntu:

For the source tarball as well as Windows msi packages, go the sourceforge download page.

For all current Ubuntu releases, including Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, and their based systems, I’ve made the unofficial package into this PPA repository.

I also sync the packages into the apps PPA, use either one as you prefer.

1. First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/hugin

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2. Update system package cache for Ubuntu 18.04 and Linux Mint, though it’s done automatically while adding PPA in Ubuntu 20.04+:

sudo apt update

3. Finally, either run the command below in terminal to install the panorama photo stitcher:

sudo apt install hugin

Or, upgrade the software (if an old version was installed) via Software Updater (Update Manager) app:

Uninstall hugin:

To remove the software package, simply run command:

sudo apt remove --autoremove hugin hugin-data

And, remove the PPA either by running command in terminal:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/hugin

Or remove the source line from ‘Software & Updates‘ utility under Other Software tab.

RawTherapee, the free open-source raw image converter and digital photo processor, released version 5.9 recently after more than 2 years of development.

RawTherapee 5.9 features new “Spot Removing Tool” under Details tab for removing dust specks and small objects; Local Adjustments tool under Local tab for performing a wide range of operations on an area of the image determined by its geometry or color; Preprocess White Balance tool under Raw tab to specify whether channels should be balanced automatically or whether the white balance values recorded by the camera should be used instead; and a new Perspective Correction tool which includes an automated perspective correction feature.

Other changes include:

  • include CAM16 in Color Appearance & Lighting tool
  • new automatic white balance method “temperature correlation” for White Balance tool.
  • new waveform, vectorscope and RGB parade modes for the Main Histogram.
  • new dual-demosaicing methods in the Demosaicing tool
  • add saturation adjuster for Haze Removal tool

RawTherapee 5.9

There are as well many new and improved Cameras support, including Canon EOS 100D / Rebel SL1 / Kiss X7, Canon EOS 2000D / Rebel T7 / Kiss X90, Nikon D6, Nikon Z 6II, Nikon Z 7II, and more. See the release note for details.

How to Install RawTherapee (5.10 Updated):

Option 1: AppImage

The software provides official Linux package via AppImage, which is available for downloading at the link below:

Once you got the package, right-click on it to open file ‘Properties’ dialog and add ‘executable as program’ permission. Finally, click the file to launch the photography processor.

NOTE: Ubuntu 22.04+ does not support AppImage out-of-the-box. In case it doesn’t work for you, press Ctrl+Alt+T on keyboard to open terminal and run command sudo apt install libfuse2 to enable it.

Option 2: Flatpak

RawTherapee is also available as Flatpak package that runs in sandbox and works in most Linux.

1. First, open terminal (Ctrl+Alt+T) and make sure the daemon package is installed by running command in Ubuntu 20.04, Ubuntu 22.04 and higher:

sudo apt install flatpak

Ubuntu 18.04 and Ubuntu 16.04 user can get the package from this PPA.

2. Then, install Rawtherapee as Flatpak by running command:

flatpak install https://dl.flathub.org/repo/appstream/com.rawtherapee.RawTherapee.flatpakref

Like normal package, you can search for and launch the flatpak app from either ‘Activities’ overview or system start menu depends on desktop environment.


Option 3: Ubuntu PPA

For those who prefer the native .deb packages, there’s also an unofficial PPA contains the packages for Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 23.10.

1. First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/rawtherapee

2. Linux Mint users need to manually refresh system package cache after adding PPA, though it’s done automatically in Ubuntu now.

sudo apt update

3. Finally, install the RAW developer software by running command:

sudo apt install rawtherapee

Uninstall RawTherapee

Depends on which package you installed, open terminal (Ctrl+Alt+T) and run command to uninstall the Flatpak:

flatpak uninstall --delete-data com.rawtherapee.RawTherapee

Also run flatpak uninstall --unused to clear useless runtime libraries.

For the .deb package, remove it by running command:

sudo apt remove --autoremove rawtherapee rawtherapee-data

Also remove PPA, either by removing source line via “Software & Updates” tool under Other Software tab, or by running command in terminal:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/rawtherapee

And, for the AppImage, just delete the file in your folder.

Hugin, the popular free and open-source panorama photo stitcher application, now is in beta stage for the upcoming 2022 version.

Changes in this release according to the launchpad milestone include:

  • Add simple edge fill option to fill black edges in panorama with homogenous color.
  • Simplified the assistant page with only the necessary GUI controls to make it more clear for beginners and casual users.
  • Several improvements to control points tab (e.g. magnifier displays now warped image for better judgement of wide angle/fisheye images).
  • Improved handling of duplicate control points when running cpfind.
  • Extended command line tools pto_mask (--delete-mask) and pano_modify (allow specifying crop relative to canvas size).

There are as well some bug-fixes in the release, including fulla flatfield extremely dark, and high DPI display support for Windows.

How to install Hugin 2022 in Ubuntu:

For the source tarball as well as Windows msi packages, go the sourceforge download page.

For all current Ubuntu releases, including Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, Ubuntu 22.10, and their based systems, I’ve made the unofficial package into this PPA repository.

I’ll continue updating this PPA when the stable release is out! And sync the package (stable) with may apps ppa.

1. First, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/hugin

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2. Update system package cache for Ubuntu 18.04 and Linux Mint, though it’s done automatically while adding PPA in Ubuntu 20.04+:

sudo apt update

3. Finally, either run the command below in terminal to install the panorama photo stitcher:

sudo apt install hugin

Or, upgrade the software (if an old version was installed) via Software Updater (Update Manager) app:

Uninstall hugin:

To remove the software package, simply run command:

sudo apt remove --autoremove hugin hugin-data

And, remove the PPA either by running command in terminal:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/hugin

Or remove the source line from ‘Software & Updates‘ utility under Other Software tab.

It’s easy to make backup of your iPhone’s photos, since Ubuntu now has out-of-the-box support for accessing iOS files.

To make life easy, the gThumb image organizer can even pop-up the photo import dialog automatically once your iPhone is plugged in via USB port.

Install and setup gThumb

1.) Firstly, press Ctrl+Alt+T on keyboard to open terminal in Ubuntu.

When it opens, run the command below to install gThumb image viewer and organizer and heif image support:

sudo apt install gthumb heif-gdk-pixbuf

For those hate Linux commands, it can be also installed via Ubuntu Software.

2.) Next, set gThumb as the default app for handling photos from removable media. To do so, open “Settings” from system tray menu.

When the Settings utility opens, navigate to “Removable Media” from left pane. Finally, select “Import with gThumb” in right for photos drop-down box.

Connect iPhone via USB and start importing photos

Now, plug your iPhone into Ubuntu PC/laptop via USB port. Then, select “Trust this computer” in your iPhone and type password to confirm.

An import dialog should pop-up automatically:

  • There set ‘Source’ to your iOS device.
  • Use the selection box for ‘Show’ to filter what you want to import.
  • It should now load all the files with preview under “Files to import” section.
  • After ‘Destination’, click and choose where you want to import the files.
  • Finally, click green Import button to start the process.

If the dialog didn’t open, try manually launching gThumb, open ‘☰’ menu, and finally navigate to ‘Import from -> Removable device’.

Thanks to @Trozpent, there’re a few tips in case this step does not work for you.

All photo files are saved to user’s “Pictures” folder by default, though you may change the location in the previous dialog.

This is tested and works on iOS 14.4.2, 15.5, and 16.1.1. That’s it. Enjoy!

Access photos in File Manager:

The import process may fail if there are 0 KB videos/photos in your iOS devices. In my case, the old iPad has “100CLOUD” folder that contains empty MP4 files that interrupted the importing process.

For the case, you may first search for and kill the frozen ‘gThumb’ app window in System Monitor. Then, access your photos from the mounted folder.

As the picture shows, there are usually 2 mounted folders: “Documents on DEVICE_NAME” and “iOS DEVICE_NAME”. The DCIM sub-folder in the latter one contains all photo and video files in your iOS device.

Thanks to @Trozpent, if you don’t see the DCIM folder, try going to the “Documents on i…” from left panel, then press Ctrl+L to enter location, finally delete :3/ in location bar and hit Enter.

After that, you’ll see your device folders including DCIM for photos.


YOGA Image Optimizer is a graphical tool to batch convert photos into JPEG, PNG and WEBP, and compress file sizes while having equivalent quality.

It’s a free and open-source tool based on YOGA command line tool, which can also convert and optimize 3D models from various formats to glTF and GLB.

YOGA:

The YOGA backend uses Python Pillow library to convert images into PNG, JPEG, or WebP as you prefer. And it uses Google’s Guetzli library to generate JPEG that are typically 20-30% smaller than libjpeg while having some quality. Google’s Zopflipng and libwebp libraries are in use for optimizing other two image formats.

The command line tool also support converting and optimizing 3D models using the Open Asset Import Library (Assimp).

YOGA Image Optimizer:

The official front-end for YOGA provides an easy to use graphical interface to do converting and optimizing process in Linux and Windows.

Simply open a batch of photo images (press Shift or Ctrl while choosing files), it shows the thumbnails, input file name and size, as well as output name and file format.

Before you clicking “Optimize”, you can choose output format and set compress level for each or a selection of images.

YOGA Image Optimizer also features:

  • Multi-thread support. You can set how many CPU cores to use.
  • GTK theme support. It allows to choose between all installed GTK theme for the app only.
  • Dark Mode.
  • Custom output pattern.

Install YOGA Image Optimizer in Ubuntu Linux:

For Linux, the software can be installed either via universal Flatpak package or using pip (Python Package Installer).

1. Flatpak Package

Open terminal by pressing Ctrl+Alt+T on keyboard, you can then run following commands one by one to get the software via Flatpak in Ubuntu 20.04 and higher. For Ubuntu 18.04, you need to add this PPA before getting started.

a. ) Install the flatpak daemon if you don’t have it:

sudo apt install flatpak

b.) Add the Flathub the preferred repository hosting Flatpak package:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

c.) Finally install the image converter and optimizer via command:

flatpak install flathub org.flozz.yoga-image-optimizer

(Optional) For any reason, you can easily remove the software by running command in temrinal:

flatpak uninstall --delete-data org.flozz.yoga-image-optimizer

2. Install the package via pip3:

For those don’t like the Flatpak package, use the Python pip3 package installer. It however does NOT create app shortcut for launching it from the ‘Show Applications’ start menu.

a.) Firstly, open terminal and run command to install required libraries:

sudo apt install git build-essential python3 python3-dev python3-pip libgirepository1.0-dev libcairo2-dev pkg-config gir1.2-gtk-3.0

b.) Next install the package via command:

sudo pip3 install yoga-image-optimizer

The pip package does not has app shortcut, you need to either run yoga-image-optimizer command to start it from terminal and create a .desktop file manually.

(Optional) To remove the package, use command:

sudo pip3 install yoga-image-optimizer