Search found 7 matches

by Trenthee
Mon Oct 07, 2024 3:37 pm
Forum: NConvert
Topic: Trouble With Ubuntu Installation [Solved]
Replies: 0
Views: 2119

Trouble With Ubuntu Installation [Solved]

EDIT: This thread can be closed. I just figured out that I was failing to cd into the plugins folder before copying! :)



This is how I'm installing on Ubuntu 24.04:

wget http://download.xnview.com/NConvert-linux64.tgz

tar xvzf NConvert-linux64.tgz

cd NConvert

sudo cp nconvert /usr/bin

and ...
by Trenthee
Fri Mar 22, 2019 9:17 pm
Forum: NConvert
Topic: Watermark as Percentage of Image Size
Replies: 3
Views: 3884

Re: [NConvert] Watermark as Percentage of Image Size

Thanks cday, I decided to use Imagemagick for this. The following Imagemagick code gets the job done:

Code: Select all

pct=23
amt=`convert -ping image.jpg -format "%[fx:$pct*min(w,h)/100]" info:`
convert image.jpg \( logo.png -resize $amt \) -gravity northwest -compose over -composite_watermark.png
by Trenthee
Wed Mar 20, 2019 9:39 pm
Forum: NConvert
Topic: Watermark as Percentage of Image Size
Replies: 3
Views: 3884

Watermark as Percentage of Image Size

EDIT: I just realized I should have posted this in the NConvert section.Perhaps it can be moved, because I'm not allowed to delete it.

In XnViewMP there is an option in Batch Processing to watermark an image and resize the watermark/logo to a percentage of the image on which the watermark/logo is ...
by Trenthee
Sun Mar 17, 2019 5:54 pm
Forum: MP - General Support
Topic: BPG plugin For XNViewMP Linux 32 or 64 bit?
Replies: 2
Views: 837

Re: BPG plugin For XNViewMP Linux 32 or 64 bit?

Thank you! I notice that you're French. BPG was created by a Frenchman, as was my favorite duplicate image finding program, Visipics. Though unrelated to graphics, Clement Lefebvre created my favorite Linux distro. I wonder if this is purely coincidence or if the French have an edge on others when ...
by Trenthee
Sat Mar 16, 2019 11:10 pm
Forum: MP - General Support
Topic: BPG plugin For XNViewMP Linux 32 or 64 bit?
Replies: 2
Views: 837

BPG plugin For XNViewMP Linux 32 or 64 bit?

Is there a plugin for BPG (Better Portable Graphics) and XNViewMP on Linux? I see plugins for Windows, but not Linux: https://github.com/leavinel/BPG-Plugins

Specs:

XnView MP Linux
Version 0.93 64bits (Jan 31 2019)
Libformat version 7.25

Linux Mint 19.1 64bit
by Trenthee
Wed Oct 03, 2018 1:01 pm
Forum: NConvert
Topic: Rename files in numbered sequence from the command line
Replies: 1
Views: 1580

Rename files in numbered sequence from the command line

Is it possible to rename multiple files with different image formats in numbered sequence from the command line?

I use Linux Mint. The following command will rename all files in a folder, regardless of extension:

c=0; for i in *; do let c++; mv "$i" "gg_$(printf "%03d" $c)${i#"${i%.*}"}"; done ...
by Trenthee
Wed Aug 12, 2015 11:33 am
Forum: Classic - General Support
Topic: Multiple Crops at the Same Time?
Replies: 2
Views: 1267

Multiple Crops at the Same Time?

Is there a way to crop a single image multiple times in one go? In the below example I'd like to crop the image 4 times and save the croppings as 4 separate images while saving the original image. The way I do it now is to crop>save crop with unique file name>go back to original picture> and repeat ...