How to install wxPackJPG on Ubuntu 16.04

To install wxPackJPG on Ubuntu

wxPackJPG is a multi-platform tool for lossless compression of JPEG files. Compressing your high resolution JPEG images in a lossless way will save you a lot of disk space, and wxPackJPG is a handy tool when it comes to lossless compression. It is simple and easy to install wxPackJPG, and this article covers the installation procedure involved with wxPackJPG on Ubuntu.

Installing wxPackJPG

Before you initiate the installation of wxPackJPG make sure you add the repository as follows.

root@linuxhelp1:~# add-apt-repository ppa:dhor/myway
 Every photographer needs some tools...

 More info: https://launchpad.net/~dhor/+archive/ubuntu/myway
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp84y5p2qz/secring.gpg'  created
gpg: keyring `/tmp/tmp84y5p2qz/pubring.gpg'  created
gpg: requesting key 93330B78 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp84y5p2qz/trustdb.gpg: trustdb created
gpg: key 93330B78: public key " Launchpad PPA for Dariusz Duma"  imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK


Once it is done, update the newly added repo with the help of following command.

root@linuxhelp1:~# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                    
Get:3 http://ppa.launchpad.net/dhor/myway/ubuntu xenial InRelease [17.5 kB]                             
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]                                         
Get:5 http://ppa.launchpad.net/dhor/myway/ubuntu xenial/main amd64 Packages [11.2 kB]                
Get:6 http://ppa.launchpad.net/dhor/myway/ubuntu xenial/main i386 Packages [10.6 kB]                            
Get:7 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]            
Get:8 http://ppa.launchpad.net/dhor/myway/ubuntu xenial/main Translation-en [6,572 B]              
Fetched 352 kB in 2s (129 kB/s)                                            
Reading package lists... Done

Now is the time to install wxPackJPG. Use the following command to install wxPackJPG.

root@linuxhelp1:~# apt-get install wxpackjpg -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libwxbase3.0-0v5 libwxgtk3.0-0v5
The following NEW packages will be installed:
  libwxbase3.0-0v5 libwxgtk3.0-0v5 wxpackjpg
0 upgraded, 3 newly installed, 0 to remove and 470 not upgraded.
Need to get 5,444 kB of archives.
After this operation, 21.6 MB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libwxbase3.0-0v5 amd64 3.0.2+dfsg-1.3ubuntu0.1 [971 kB]
Get:2 http://ppa.launchpad.net/dhor/myway/ubuntu xenial/main amd64 wxpackjpg amd64 1.2.0-2dhor~xenial [129 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libwxgtk3.0-0v5 amd64 3.0.2+dfsg-1.3ubuntu0.1 [4,344 kB]    
Fetched 5,444 kB in 1min 32s (59.1 kB/s)                                                                                            
Selecting previously unselected package libwxbase3.0-0v5:amd64.
(Reading database ... 176594 files and directories currently installed.)
Preparing to unpack .../libwxbase3.0-0v5_3.0.2+dfsg-1.3ubuntu0.1_amd64.deb ...
Unpacking libwxbase3.0-0v5:amd64 (3.0.2+dfsg-1.3ubuntu0.1) ...
Selecting previously unselected package libwxgtk3.0-0v5:amd64.
Preparing to unpack .../libwxgtk3.0-0v5_3.0.2+dfsg-1.3ubuntu0.1_amd64.deb ...
Unpacking libwxgtk3.0-0v5:amd64 (3.0.2+dfsg-1.3ubuntu0.1) ...
Selecting previously unselected package wxpackjpg.
Preparing to unpack .../wxpackjpg_1.2.0-2dhor~xenial_amd64.deb ...
Unpacking wxpackjpg (1.2.0-2dhor~xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
.
.
.
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up libwxbase3.0-0v5:amd64 (3.0.2+dfsg-1.3ubuntu0.1) ...
Setting up libwxgtk3.0-0v5:amd64 (3.0.2+dfsg-1.3ubuntu0.1) ...
Setting up wxpackjpg (1.2.0-2dhor~xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

The package has been installed. Use your Ubuntu dashboard to find and open wxPackJPG.

The wxPackJPG application looks as follows.

You can also remove the wxPackJPG application with the help of following command.

root@linuxhelp1:~# apt-get remove wxpackjpg -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libwxbase3.0-0v5 libwxgtk3.0-0v5
Use ' sudo apt autoremove'  to remove them.
The following packages will be REMOVED:
  wxpackjpg
0 upgraded, 0 newly installed, 1 to remove and 470 not upgraded.
After this operation, 588 kB disk space will be freed.
(Reading database ... 176638 files and directories currently installed.)
Removing wxpackjpg (1.2.0-2dhor~xenial) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...

Wasn' t it a simple installation procedure? Since wxPackJPG uses the library packJPGlib, it results in files which are 100% compatible to packJPG. Compress your JPG images with wxPackJPG without losing its quality.

Tag : WxPackJPG
FAQ
Q
decide where these compressed files with be saved?
A
"yes, the same folder where the original JPEG image file is stored, but with a different suffix *.pjg
The new folder that can be set by clicking the "Browse" button"
Q
how To compress JPEG image files, add them to the list in the bottom half of the window?
A
"you can do that either way:
Using drag-and-drop from the Windows Explorer/Finder/Nautilus, depending on the operating system
By clicking the "Add files..." button, navigating to the folder and selecting the JPEG image files"
Q
"Is there any alternative of Wxpackjpg?

"
A
"SudaRA, xps2img, texgenpack and much more

"
Q
"How do I compress a JPEG image?



"
A
"# Make a copy of the image file. ...
# Open the image in Paint. ...
# Select the entire image. ...
# Click the ""Resize"" button. ...
# Use the ""Resize"" fields to change the size of the image.

"
Q
"How do you compress photos to send via email?

"
A
"Navigate to the folder that contains the file you want to send. Select a file. ... Right-click the selection, select Send To > Compressed (zipped) Folder.

"