Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

bimp for batch image processing

Message
Author
User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22970
Joined: Wed Jul 19, 2006 6:13 am

bimp for batch image processing

#1 Post by Jerry3904 » Fri Aug 03, 2018 3:02 pm

For a large work project I need to be able to shrink images folder-by-folder. I know that imagemagick can do that, but don't really want to go that route. Bimp is a batch processing plugin for Gimp, and has been around for some time. I downloaded the most recent stable version and checked to see if I could install the needed dependencies in the README file, but ran into problems (using GIMP 2.10 my production machine):

Code: Select all

$ sudo apt-get install -s libgimp2.0-dev libpcre3-dev
[sudo] password for jb: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgimp2.0-dev : Depends: libgimp2.0 (= 2.8.22-0mx17+1) but 2.10.4-0.1~mx17+1 is to be installed
                  Depends: libgtk2.0-dev (>= 2.12.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Not sure if this can be solved and, if so, if it might go into the repos. There is a lengthy issue thread on the site where users are reporting that it does work with 2.10 (without mentioning the platform).

There seems to be a good alternative, I am happy to point out: batch-smart-resize. The entire installation involves moving a single file in the Home folder. I used it once and it was pretty painless.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
ChrisUK
Forum Regular
Forum Regular
Posts: 226
Joined: Tue Dec 12, 2017 1:04 pm

Re: bimp for batch image processing

#2 Post by ChrisUK » Fri Aug 03, 2018 3:32 pm

I really can't remember if it came with the default MX install, but nomacs handles batch processing with a nice GUI... just select it from the tools menu. Although reading your post again, maybe not what you're looking for
Chris

MX 17 - Manjaro

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22970
Joined: Wed Jul 19, 2006 6:13 am

Re: bimp for batch image processing

#3 Post by Jerry3904 » Fri Aug 03, 2018 3:40 pm

nomacs does come by default with MX-17, will take a look--thanks.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

Alt
Forum Novice
Forum  Novice
Posts: 79
Joined: Wed Jan 27, 2016 1:28 am

Re: bimp for batch image processing

#4 Post by Alt » Sat Aug 11, 2018 9:26 am

BIMP binary from PPA (/.config/GIMP/2.10/plug-ins/bimp) should work. Just place it into

Code: Select all

~/.config/GIMP/2.10/plug-ins/
For flatpack version of GIMP you also need

Code: Select all

sudo cp '/lib/x86_64-linux-gnu/libpcre.so.3' /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/3.28/active/files/lib

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22970
Joined: Wed Jul 19, 2006 6:13 am

Re: bimp for batch image processing

#5 Post by Jerry3904 » Sat Aug 11, 2018 9:33 am

Thanks, I'll look at that. I used the batch-smart-resize plugin for GIMP to get this project done last week, and worked very well.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

Alt
Forum Novice
Forum  Novice
Posts: 79
Joined: Wed Jan 27, 2016 1:28 am

Re: bimp for batch image processing

#6 Post by Alt » Sat Aug 11, 2018 10:12 am

Awesome thing about BIMP is that it's future-proof. I'm able to pick new functions or resize interpolations methods.
Stretch package of BIMP on packagers website

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16918
Joined: Fri Dec 15, 2006 8:07 pm

Re: bimp for batch image processing

#7 Post by Stevo » Sat Aug 11, 2018 2:14 pm

The errors about installing libgimp2.0-dev in Jerry's first post resulted from installing gimp-2.10 from the test repo, probably with the package installer, which then disabled the test repo. The -dev packages have to match the installed version, so the solution is to install libgimp2.0-dev 2.10.4 from the test repo.

Let me look at bimp...if I package it, I think the solution would be to have a version compiled against the stock Debian gimp 2.8.X in the main repo, then one compiled against 2.10.4 in the test repo.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16918
Joined: Fri Dec 15, 2006 8:07 pm

Re: bimp for batch image processing

#8 Post by Stevo » Sat Aug 11, 2018 4:14 pm

Well, it fails to build against 2.10.4 anyway, and I can't find it in any other bleeding-edge distro's repo that would have patches I could copy over to fix that, so I'm just going to send up the versions built against the stock 2.8.xx gimps.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22970
Joined: Wed Jul 19, 2006 6:13 am

Re: bimp for batch image processing

#9 Post by Jerry3904 » Sat Aug 11, 2018 4:48 pm

What about packaging up batch-smart-resize? It just inserts a single file and works well with 2.10
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, SSD 120 GB, Data 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB
Personal: XPS 13, 4.18.0-19.3-liquorix, 4 GB

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16918
Joined: Fri Dec 15, 2006 8:07 pm

Re: bimp for batch image processing

#10 Post by Stevo » Sat Aug 11, 2018 5:44 pm

Jerry3904 wrote:
Sat Aug 11, 2018 4:48 pm
What about packaging up batch-smart-resize? It just inserts a single file and works well with 2.10
I'll give it a try. It'll have to go in the systemwide folder, which seems to be /usr/lib/gimp/2.0/plug-ins/

Post Reply

Return to “Package Requests/Status - MX 17”