Search found 36 matches
- 2016-12-07T12:16:50-07:00
- Forum: Users
- Topic: Convert Watermark Bash Script to CLI Command
- Replies: 22
- Views: 27253
Re: Convert Watermark Bash Script to CLI Command
I want these exact settings though. I've used this bash script a lot and like it.
- 2016-12-07T09:16:20-07:00
- Forum: Users
- Topic: Convert Watermark Bash Script to CLI Command
- Replies: 22
- Views: 27253
Convert Watermark Bash Script to CLI Command
How do I convert this watermark bash script to a CLI command? I don't need YAD (Yet Another Dialog) to work with it, so that can be taken out. And it doesn't need to work on multiple files. #!/bin/sh command -v convert >/dev/null 2>&1 || { echo >&2 "I require convert, but it's not insta...
- 2016-07-30T12:42:58-07:00
- Forum: Users
- Topic: Visipics and finding similar images and dupicates with ImageMagick
- Replies: 29
- Views: 22667
Re: Visipics and finding similar images and dupicates with ImageMagick
Thanks for the explanations. I always try new commands on a test directory rather then using echo. I ran this command from the command line after creating a subdirectory of the working directory. http://i.imgur.com/hBnz1dU.jpg I tried it as one line: http://i.imgur.com/71jadte.jpg I tried it as a ba...
- 2016-07-28T15:52:22-07:00
- Forum: Users
- Topic: Visipics and finding similar images and dupicates with ImageMagick
- Replies: 29
- Views: 22667
Re: Visipics and finding similar images and dupicates with ImageMagick
Thanks! I'm doing something wrong. This is how I applied your code: #!/bin/bash for image in *.jpg; do value=$(compare -metric phash image1 image2 null: 2>&1); mkdir -p $value; mv $value; done What do I put in between mv and $value? I tried $image but got strange results. A bunch of folders were...
- 2016-07-28T11:16:34-07:00
- Forum: Users
- Topic: Visipics and finding similar images and dupicates with ImageMagick
- Replies: 29
- Views: 22667
Re: Visipics and finding similar images and dupicates with ImageMagick
I'm getting these errors with the bash command above: compare: missing an image filename `test0001.jpg' @ error/compare.c/CompareImageCommand/957. mkdir: missing operand Try 'mkdir --help' for more information. mv: missing destination file operand after 'test0001.jpg' Try 'mv --help' for more inform...
- 2016-07-28T10:55:52-07:00
- Forum: Users
- Topic: Visipics and finding similar images and dupicates with ImageMagick
- Replies: 29
- Views: 22667
Re: Visipics and finding similar images and dupicates with ImageMagick
Manjaro Linux 16.06.1
ImageMagick 6.9.5.2-1
I tried this but it doesn't work:
ImageMagick 6.9.5.2-1
I tried this but it doesn't work:
Code: Select all
for image in *.jpg;
do comp=$(compare -metric phash $image null:);
mkdir -p $comp;
mv $image $comp;
done
- 2016-07-28T09:50:36-07:00
- Forum: Users
- Topic: Visipics and finding similar images and dupicates with ImageMagick
- Replies: 29
- Views: 22667
Re: Visipics and finding similar images and dupicates with ImageMagick
Thanks for the information. The developer has been working on version 2 since 2008, which will have a cli. https://fr.linkedin.com/in/gfouet I'm curious to try the following command out on a folder of jpgs. I mostly use Visipics for color images, so it's not a big deal if it can't work with grayscal...
- 2016-07-27T18:15:14-07:00
- Forum: Users
- Topic: Visipics and finding similar images and dupicates with ImageMagick
- Replies: 29
- Views: 22667
Visipics and finding similar images and dupicates with ImageMagick
I'm a Linux user and I like to work from the command line. But I still use the Windows program VisiPics with Wine to find similar images. It gets better results than the Linux program findimagedupes, and it's better than any other Windows program I've tried. I checked the installation folder for Vis...
- 2016-02-29T12:31:31-07:00
- Forum: Users
- Topic: Composite transparent layer and underlying layer
- Replies: 16
- Views: 15052
Re: Composite transparent layer and underlying layer
Okay thanks for your help fmw42. I've decided to pad the images that are not wide enough with this command:
Code: Select all
convert aaa.jpg -bordercolor black -border 30x0 result.jpg
- 2016-02-26T17:41:46-07:00
- Forum: Users
- Topic: Composite transparent layer and underlying layer
- Replies: 16
- Views: 15052
Re: Composite transparent layer and underlying layer
Tx, they work nicely for background images which are 1550x2067 or close. But if I'm using an image with much different dimensions it would be ideal if the command could take account of the dimensions of the gif image and the background image and resize them both (if need be) to produce a composite w...
- 2016-02-26T17:04:45-07:00
- Forum: Users
- Topic: Composite transparent layer and underlying layer
- Replies: 16
- Views: 15052
Re: Composite transparent layer and underlying layer
Sorry for the confusion. It could be that what I want to do is impossible in one command. In addition to compositing the background and gif images together, I'd also like the command to resize the background jpg image and/or the gif image so that the background jpg image will fit nicely within the b...
- 2016-02-26T11:53:20-07:00
- Forum: Users
- Topic: Composite transparent layer and underlying layer
- Replies: 16
- Views: 15052
Re: Composite transparent layer and underlying layer
Tx, that works! How can the command be modified so that the underlying image is resized to these exact dimensions: 1550x2067
If I could get the underlying image to resize to those exact dimensions then I wouldn't have to resize the image before compositing it with the .gif overlay.
If I could get the underlying image to resize to those exact dimensions then I wouldn't have to resize the image before compositing it with the .gif overlay.
- 2016-02-26T10:45:07-07:00
- Forum: Users
- Topic: Composite transparent layer and underlying layer
- Replies: 16
- Views: 15052
Re: Composite transparent layer and underlying layer
Ok! Here's the full scale .gif overlay:
And the full scale background image:
And the full scale background image:
- 2016-02-26T00:51:15-07:00
- Forum: Users
- Topic: Composite transparent layer and underlying layer
- Replies: 16
- Views: 15052
Re: Composite transparent layer and underlying layer
I tried the above and got this: http://i.imgur.com/BOhhmNA.png This command produced the same results (the one I posted before was scaled by me to the size of the gif, which is why it looks better): convert bbb.gif aaa.jpg -background black -gravity center -compose dstover -composite result.jpg Idea...
- 2016-02-25T17:34:28-07:00
- Forum: Users
- Topic: Composite transparent layer and underlying layer
- Replies: 16
- Views: 15052
Re: Composite transparent layer and underlying layer
Thanks for your help! Imagemagick version: 8:6.7.7.10-6ubun Results of First command: http://i.imgur.com/F6OqUk2.png Results of second command: http://i.imgur.com/jpD0Z2j.png Results of third command (this is the best): http://i.imgur.com/fEDlT24.png I tried this command: convert aaa.jpg bbb.gif \ \...