Search found 24323 matches

by fmw42
2019-01-03T15:46:53-07:00
Forum: Users
Topic: Command Produces Two FIles [ SOLVED ]
Replies: 15
Views: 813

Re: Command Produces Two FIles

That was not quite what I meant. Write all the comments. Then write your commands in sections with line break \ at the end in short sections that fit on the page so that one does not have to scroll left right. You can break a parenthesis section into multiple parts with \ if needed. #comment for lin...
by fmw42
2019-01-03T15:43:11-07:00
Forum: Users
Topic: how do I rotate image and strip meta using convert?
Replies: 9
Views: 451

Re: how do I rotate image and strip meta using convert?

There is no reason that -rotate 180 would not work. You already have -strip after it, which is proper. However, your viewer may be seeing the EXIF orientation and automatically correcting it. But then your rotate and strip and get back to the original orientation. If the EXIF data has orientation in...
by fmw42
2019-01-02T16:10:57-07:00
Forum: Users
Topic: Command Produces Two FIles [ SOLVED ]
Replies: 15
Views: 813

Re: Command Produces Two FIles

One suggestion is to reformat to put each parenthesis step on a separate line and put \ at the end of each line. That way, we might be able to understand better what you are doing. Another help would be to put a numbered comment line above your whole command for each line of the reformatted command....
by fmw42
2019-01-02T14:07:26-07:00
Forum: Users
Topic: Approximate a tracing effect to "clean" an image
Replies: 4
Views: 356

Re: Approximate a tracing effect to "clean" an image

Here is the results from adaptive-sharpening as snibgo had suggested. It also is fast.

Code: Select all

convert image.jpg -adaptive-sharpen 0x35 image_as35.png
Image
by fmw42
2019-01-02T14:01:55-07:00
Forum: Users
Topic: Getting weird horizontal lines converting PDF to JPG
Replies: 6
Views: 378

Re: Getting weird horizontal lines converting PDF to JPG

You might report this issue to the Ghostscript team.
by fmw42
2019-01-02T13:34:26-07:00
Forum: Users
Topic: Getting weird horizontal lines converting PDF to JPG
Replies: 6
Views: 378

Re: Getting weird horizontal lines converting PDF to JPG

This command works fine for me with IM 7.0.8.23 Q16 Mac OSX Sierra and GS 9.26 and libjpeg 90. No lines for me convert -density 500 floor.pdf -quality 100 floor.jpg Make sure you have enough space in /tmp. Also try downgrading GS to 9.23. I have heard reports of issue with 9.26 and 9.25. I do not re...
by fmw42
2019-01-02T13:30:27-07:00
Forum: Users
Topic: Compose: Overlay over multiple coordinates w/o loop [Solved]
Replies: 14
Views: 841

Re: Compose: Overlay over multiple coordinates w/o loop

Aren't compare.exe, composite.exe, conjure.exe, convert.exe, identify.exe, magick.exe, mogrify.exe, montage.exe, and stream.exe the exact same file, though?
No each is different. In IM 7, they must be called by prefacing the names with magick, except for convert, which is simply replaced by magick.
by fmw42
2019-01-02T11:59:50-07:00
Forum: Users
Topic: Approximate a tracing effect to "clean" an image
Replies: 4
Views: 356

Re: Approximate a tracing effect to "clean" an image

There are several other options. Input: http://www.fmwconcepts.com/misc_tests/color_reduction/image.jpg 1) Kuwahara filtering (fast) convert image.jpg -kuwahara 5 image_kuwahara5.png http://www.fmwconcepts.com/misc_tests/color_reduction/image_kuwahara5.png convert image.jpg -kuwahara 9 image_kuwahar...
by fmw42
2019-01-02T11:34:21-07:00
Forum: Users
Topic: Getting weird horizontal lines converting PDF to JPG
Replies: 6
Views: 378

Re: Getting weird horizontal lines converting PDF to JPG

Do you have Ghostscript installed? If so what is its version? Also what is the version of libjpeg? If not current, then you should try to upgrade those delegates. convert floor.pdf floor.jpg works fine for me with IM 7.0.8.23 Q16 Mac OSX using GS 9.26 and JPEG 90. You can find your version of GS usi...
by fmw42
2019-01-02T11:31:12-07:00
Forum: Users
Topic: Splitting image using vertical line
Replies: 8
Views: 811

Re: Splitting image using vertical line

multicrop uses my script unrotated. Read the documentation. # REQUIREMENTS: # If using unrotate method 2, then my script, unrotate, is required. # If using innertrim, then my script, autotrim is required. You may prefer to use my script multicrop2. It performs better. But it has the same requirements.
by fmw42
2019-01-01T10:43:48-07:00
Forum: Users
Topic: Splitting image using vertical line
Replies: 8
Views: 811

Re: Splitting image using vertical line

chmod u+x textdeskew Try bash ./textdeskew inoputFile.png outputfile.png Did you follow the Pointers For Use at http://www.fmwconcepts.com/imagemagick/index.php What is your platform? My scripts only run on Unix-like systems. How big is your image? Did you split it in two parts first? Post the imag...
by fmw42
2018-12-31T22:45:57-07:00
Forum: Users
Topic: Help with batch watermarking jpg after photobooth
Replies: 24
Views: 1439

Re: Help with batch watermarking jpg after photobooth

check out cron. It is a unix tool that can be programmed to launch a script at certain time of the day every day. So once you process your files, you can delete them from the OUT directory.
by fmw42
2018-12-31T21:39:24-07:00
Forum: Users
Topic: Help with batch watermarking jpg after photobooth
Replies: 24
Views: 1439

Re: Help with batch watermarking jpg after photobooth

Are you editing in a Windows tool such as Wordpad or Notepad. Window uses different line endings (\n\r) than Unix systems (\n). It looks like your Unix environment is having trouble with the end of line \r from the windows line endings. Try editing/creating the script in a Unix text editor.
by fmw42
2018-12-31T20:40:38-07:00
Forum: Users
Topic: Help with batch watermarking jpg after photobooth
Replies: 24
Views: 1439

Re: Help with batch watermarking jpg after photobooth

First don't make it a script. Just try copying and pasting the commands to a terminal. Second in unix, you must escape the parenthesis with \. See my exact command. Third you did not copy my script code. You are missing a convert before the parenthesis. Be carafull about caps. Is your input director...
by fmw42
2018-12-31T17:29:21-07:00
Forum: Users
Topic: Help with batch watermarking jpg after photobooth
Replies: 24
Views: 1439

Re: Help with batch watermarking jpg after photobooth

Here is an example that works for me. I have 3 folders on my desktop: in, out and watermark. I cd to the in directory and get the filenames as img. Then in the for loop, I first get the name of the file without the suffix for use in the output. %t is a string format. see https://imagemagick.org/scri...