Search found 22424 matches

by fmw42
2018-01-16T10:13:48-07:00
Forum: Users
Topic: How feasible is it by using ImageMagick to extract the town/city name of the place from the exif data(GPS information) ?
Replies: 4
Views: 76

Re: How feasible is it by using ImageMagick to extract the town/city name of the place from the exif data(GPS informatio

Your image has no EXIF (or GPS) meta data containing the city. I do not think GPS reports city, only latitude/longitude. It also does not use IPTC Meta data. The IPTC data is the one that contains city information. So you would need to save IPTC from your camera. I am not a photographer, so I cannot...
by fmw42
2018-01-15T11:47:32-07:00
Forum: Developers
Topic: Old releases source code
Replies: 2
Views: 35

Re: Old releases source code

by fmw42
2018-01-14T13:57:29-07:00
Forum: Users
Topic: Is it possible to access in a Image Stack (parentheses) the dimensions of an image outside of the Image Stack?
Replies: 3
Views: 83

Re: Is it possible to access in a Image Stack (parentheses) the dimensions of an image outside of the Image Stack?

This only works in IM 7. The resize argument in IM 6 can only come from a predetermined variable as you did above and not from an in-line -set option:xxx. magick pic.png -set option:dim "%wx%h" \( top.png -rotate 35 -gravity center -resize "%[dim]" \) -compose over -composite -density 300 "result.jp...
by fmw42
2018-01-14T00:50:59-07:00
Forum: Users
Topic: Adding transparent border to png images
Replies: 2
Views: 52

Re: Adding transparent border to png images

Please always provide your IM version and platform, since syntax may differ. In IM 6, you can do that for all images in a given directory using mogrify. Best to create a new directory to hold the output in case of mistakes before using mogrify. It will not create directories. cd to current_directory...
by fmw42
2018-01-13T21:07:52-07:00
Forum: Users
Topic: extract hex code and append to file name
Replies: 2
Views: 59

Re: extract hex code and append to file name

Alternately, if you do not want to read and write the file and just change the name, then if using Unix (Linux, Mac OSX, etc), you can use Imagemagick to find the old name and create a new name. Then use the OS to rename the file. In unix, that is the mv command. oldfile="dt_black.gif" newfile=`conv...
by fmw42
2018-01-13T21:00:27-07:00
Forum: Users
Topic: Check if an image has an alpha channel with IMv7
Replies: 9
Views: 144

Re: Check if an image has an alpha channel with IMv7

Or check for False (IM6) or Unspecified (IM7).
by fmw42
2018-01-13T20:38:18-07:00
Forum: Users
Topic: extract hex code and append to file name
Replies: 2
Views: 59

Re: extract hex code and append to file name

It can be done it either IM 6 or IM 7. Please always provide your IM version and platform! %[hex:...] requires IM 6.9.8.9 or higher or IM 7.0.5-10 or higher. Alternately, for older systems, one has to extract the hex color using a second line of code from txt: listing to the terminal into a variable...
by fmw42
2018-01-13T19:13:43-07:00
Forum: Users
Topic: Create missing thumbnails within a folder tree
Replies: 7
Views: 124

Re: Create missing thumbnails within a folder tree

Probably use -verbose (or -debug all) in your command line to see what is going on. For resources, edit your IM policy.xml file. To see resources use

Code: Select all

convert -list resource
see
https://www.imagemagick.org/Usage/basics/#controls
https://www.imagemagick.org/script/resources.php
by fmw42
2018-01-13T19:11:03-07:00
Forum: Users
Topic: Check if an image has an alpha channel with IMv7
Replies: 9
Views: 144

Re: Check if an image has an alpha channel with IMv7

Actually I was only thinking about external image formats. But point taken. Nevertheless, OHTA is rather strange (as would be YCbCr), since there are only 3 channels (without alpha), but OHTA lists 4 letters (YCbCr lists 5 letters, but only has 3 channels). Even sRGB lists 4 letters for 3 channels. ...
by fmw42
2018-01-13T16:22:11-07:00
Forum: Users
Topic: Check if an image has an alpha channel with IMv7
Replies: 9
Views: 144

Re: Check if an image has an alpha channel with IMv7

Another way would be simply to check the verbose information for the file to find if it lists "Alpha" magick rose: -verbose info: | grep "Alpha" returns nothing. magick rose: -alpha set -verbose info: | grep "Alpha" Type: TrueColorAlpha Alpha: 1-bit Alpha: Likewise with magick identify -verbose your...
by fmw42
2018-01-13T13:52:26-07:00
Forum: Bugs
Topic: Possible bug sparse-color: IM 6.9.9.33 Q16 Mac OSX Sierra
Replies: 4
Views: 81

Re: Possible bug sparse-color: IM 6.9.9.33 Q16 Mac OSX Sierra

Perhaps a Mac issue only? Can you check on your Mac?

P.S. I just tested with the latest betas (6.9.9.34) and (7.0.7.22) and I still get coordinates 4,1,gray(0) missing for IM 6 but not for IM 7.
by fmw42
2018-01-13T13:20:39-07:00
Forum: Users
Topic: How feasible is it by using ImageMagick to extract the town/city name of the place from the exif data(GPS information) ?
Replies: 4
Views: 76

Re: How feasible is it by using ImageMagick to extract the town/city name of the place from the exif data(GPS informatio

Does your image have GMP location by city? Mostly I know that it has latitude and longitude. City may be there and if so, IM can extract it. The IPTC meta data usually has the City and State. IM can extract that if it exists in your file. Post your image to some free hosting service that will not ch...
by fmw42
2018-01-13T13:13:40-07:00
Forum: Users
Topic: opacity inner boarder to pic
Replies: 14
Views: 233

Re: opacity inner boarder to pic

You should not have to write strings to a text file only to read them back into a variable. If desired, you also can combine the two identify command into one and save that to a variable. Such as follows. Sorry I do not code in Windows so do not know how to put that into a variable. But I think it i...
by fmw42
2018-01-13T13:01:15-07:00
Forum: Users
Topic: opacity inner boarder to pic
Replies: 14
Views: 233

Re: opacity inner boarder to pic

You could shave a pixel or two off of each side after making it transparent using -shave 1x1 after -transparent white. If the size is important then do -shave 1x1 -bordercolor none -border 1x1. That will add back 1 pixel of transparency after shaving. If that does not work, then post a link to the i...