Search found 41 matches

by buchert
2020-04-16T12:22:56-07:00
Forum: Users
Topic: Bash Script for Text Placement
Replies: 4
Views: 1834

Re: Bash Script for Text Placement

Please define margin. Is that where the text goes? Is it 30% of the width, when used at the bottom? Please be more specific and clear. I want a code that will take any image and create a margin to the right of the image. And I want that margin to be 30% of the image's width. The image below is an e...
by buchert
2020-04-16T06:14:10-07:00
Forum: Users
Topic: Bash Script for Text Placement
Replies: 4
Views: 1834

Re: Bash Script for Text Placement

I need code that will make any image's margin be 30% of the width of the image.
by buchert
2020-04-13T15:55:58-07:00
Forum: Users
Topic: Bash Script for Text Placement
Replies: 4
Views: 1834

Bash Script for Text Placement

I have a script incorporating ImageMagick. This script takes inputted text from a prompt and places it with a slightly transparent background at the bottom of the image. https://i.imgur.com/NnlCETQ.jpg Here's the script: #!/bin/bash command -v convert >/dev/null 2>&1 || { echo >&2 "I require convert...
by buchert
2020-03-26T10:36:28-07:00
Forum: Users
Topic: Silver Efex Effect with Imagemagick?
Replies: 6
Views: 1774

Re: Silver Efex Effect with Imagemagick?

Thanks for your help guys. On the following two color images I tried -colorspace gray, along with various -intensity methods. But none of the results were to my liking. https://i.imgur.com/JEQEd66.jpg https://i.imgur.com/URJXjZl.jpg I also tried Fred's Space script and didn't like the results either...
by buchert
2020-03-25T18:34:44-07:00
Forum: Users
Topic: Silver Efex Effect with Imagemagick?
Replies: 6
Views: 1774

Silver Efex Effect with Imagemagick?

Is there a command I can use that will give me a result approximate to the Silver Efex effect?

Some Silver Efex examples:

Image

Image
by buchert
2019-07-19T17:40:07-07:00
Forum: Users
Topic: Captioning Images
Replies: 7
Views: 5226

Re: Captioning Images

Tx for your help! I moved the $SHELL command within the script at the end, and when I run the following in a Windows terminal it works!

Code: Select all

wsl /mnt/c/Users/surfacepro/Scripts/imagemagickcaption.sh *.jpg
The thing I was missing was following the bash script command with *.jpg.
by buchert
2019-07-19T15:39:36-07:00
Forum: Users
Topic: Captioning Images
Replies: 7
Views: 5226

Re: Captioning Images

I'm trying to apply this bash script to a .jpg file. When I run the following from Windows terminal: wsl /mnt/c/Users/surfacepro/Scripts/imagemagickcaption.sh $SHELL I get: Please enter your caption and press enter testing caption is testing cp: cannot remove 'bakups/bash': Permission denied identif...
by buchert
2019-07-18T22:25:38-07:00
Forum: Users
Topic: Captioning Images
Replies: 7
Views: 5226

Re: Captioning Images

Tx for your reply. I just tried it with your advice, but still the same result. I'm running it in a Windows terminal. When running in Windows terminal I prepend it with "wsl". This works with all the other bash scripts I use. But when I try it in the Windows Subsystem for Linux Unix terminal it does...
by buchert
2019-07-18T20:09:20-07:00
Forum: Users
Topic: Captioning Images
Replies: 7
Views: 5226

Captioning Images

I've been using the following bash script to caption images. This bash script worked on Linux, but since switching to Windows and using Windows Subsystem for Linux I'm not able to get it to work, despite have all the required programs installed. When using it with WSL I get a command prompt to enter...
by buchert
2019-02-08T13:26:54-07:00
Forum: Users
Topic: No Decode Delegates in Default Installation?
Replies: 3
Views: 3169

Re: No Decode Delegates in Default Installation?

Thanks for the reply! I was told that I can't install the delegates after I've installed from source? This isn't true? So I download: https://imagemagick.org/download/delegates/jpegsr9b.zip And then go into the jpegsr9b folder and perform: 1. ./configure --prefix=/opt/jpeg 2. make; make install 3. l...
by buchert
2019-02-08T13:08:16-07:00
Forum: Users
Topic: No Decode Delegates in Default Installation?
Replies: 3
Views: 3169

No Decode Delegates in Default Installation?

Why does ImageMagick have a policy of not including all the decode delegates in any installation of ImageMagick? I installed from source but didn't install the decode delegates, so I basically can't use ImageMagick and I can't uninstall it because of dependencies. It seems I'll have to reinstall Lin...
by buchert
2018-09-18T14:43:24-07:00
Forum: Users
Topic: Uninstall Imagemagick from Source?
Replies: 9
Views: 9083

Re: Uninstall Imagemagick from Source?

Okay thanks fmw. I'm curious, what is the rationale behind ImageMagick developers not including all image format delegates with every possible installation source for ImageMagick? Virtually everyone who uses ImageMagick will want to work with jpg format, so I don't understand why it isn't a standard...
by buchert
2018-09-18T13:16:24-07:00
Forum: Users
Topic: Uninstall Imagemagick from Source?
Replies: 9
Views: 9083

Re: Uninstall Imagemagick from Source?

Tx fmw! My software repository on Linux Mint indicates that I have it installed already, so it seems I installed it twice, from the repository and from source:

Image



Should I also remove the version installed from the repository as well?
by buchert
2018-09-18T12:09:36-07:00
Forum: Users
Topic: Uninstall Imagemagick from Source?
Replies: 9
Views: 9083

Uninstall Imagemagick from Source?

I installed Imagemagick from source and I didn't install the decode delegates, so it's useless as it won't work with any common image formats. What is the safest way to uninstall it? And if I afterwards install Imagemagick from the Ubuntu repository it will come with all the necessary decoding deleg...
by buchert
2016-12-22T05:45:37-07:00
Forum: Users
Topic: Convert Watermark Bash Script to CLI Command
Replies: 22
Views: 19256

Re: Convert Watermark Bash Script to CLI Command

Is it possible to add a border to the bottom of an image that is 10% the height of the image, and then overlay text on that border that automatically sizes to the height of the border? As of now I've changed -background to none and have to manually create the border and then run this command: magick...