Search found 511 matches

by GeeMack
2018-01-19T20:26:49-07:00
Forum: Users
Topic: Noticed an inconsistency with Pseudo-filename '-' across different versions of ImageMagick
Replies: 7
Views: 193

Re: Noticed an inconsistency with Pseudo-filename '-' across different versions of ImageMagick

fmw42 wrote:
2018-01-19T19:44:40-07:00
So it would seem to be a Windows issue.
I posted a note in the Bugs forum.
by GeeMack
2018-01-19T20:25:58-07:00
Forum: Bugs
Topic: Possible problem with TIFF:- IM7.0.7-21 and Windows
Replies: 1
Views: 127

Possible problem with TIFF:- IM7.0.7-21 and Windows

From a discussion in this thread , using IM 7.0.7-21 Q16 HDRI on Windows 10. This command results in no output at all... magick logo: TIFF:- | magick identify -verbose - It displays all the verbose information if I output the command on the left of the pipe in formats like "JPEG:-" or "PNG:-" If I t...
by GeeMack
2018-01-19T18:08:34-07:00
Forum: Developers
Topic: [RESOLVED] Enhancement Request
Replies: 3
Views: 147

Re: Enhancement Request

But this fails trying to use -set option with percent escapes for the argument of -evaluate: magick logo: -set option:M "%[fx:maxima]" -evaluate multiply "%[M]" tmp.png magick: invalid argument for option '-evaluate' 'logo:' at CLI arg 5 @ error/operation.c/CLISimpleOperatorImage/2328 If it is not ...
by GeeMack
2018-01-19T17:45:33-07:00
Forum: Users
Topic: Noticed an inconsistency with Pseudo-filename '-' across different versions of ImageMagick
Replies: 7
Views: 193

Re: Noticed an inconsistency with Pseudo-filename '-' across different versions of ImageMagick

Still not working on 7.0.7-Q8. How do you explain that the same command works on 7.0.4 and 7.0.6? Using IM 7.0.7-21 Q16 HDRI on Windows 10. This command results in no output at all... magick logo: TIFF:- | magick identify -verbose - It does display all the verbose information if I output the comman...
by GeeMack
2018-01-17T21:50:56-07:00
Forum: Users
Topic: Crop sprites for minimal spritesheet size
Replies: 19
Views: 962

Re: Crop sprites for minimal spritesheet size

Is it possible to take dimensions of %[cropper] and use it as filename? You can do that sort of thing with "magick", but not with the "montage" tool. There are ways to use "magick" to build your sprite sheet without using "montage". It's easiest if you know how many pieces you'll use and what the l...
by GeeMack
2018-01-17T15:44:40-07:00
Forum: Users
Topic: How to colorize an image?
Replies: 13
Views: 760

Re: How to colorize an image?

Sorry, I didn't use imagemagick much before... and can't test it now... is "green" a named color? Can I use HTML color instead or something similar? Yes, "green" is recognized by IM as a color name, and is equal to "rgb( 0, 128, 0)" or "#008000". See THIS PAGE for a list of colors and an explanatio...
by GeeMack
2018-01-17T15:19:42-07:00
Forum: Users
Topic: How to colorize an image?
Replies: 13
Views: 760

Re: How to colorize an image?

3. Output: http://sigma.creation.pl:81/colorize/colorized_green.png From a Windows CMD prompt you can get very nearly that result with a command like this... convert input.png -colorspace gray -fill green -tint 100 tinted.png With ImageMagick you would use "-tint" to preserve the blacks and whites ...
by GeeMack
2018-01-17T14:31:55-07:00
Forum: Users
Topic: Output file name
Replies: 10
Views: 735

Re: Output file name

That is the strange part - no error message. Some things I'd consider would be files IM can't read for some reason, or can't write to, permissions, etc. I'd still expect a warning or error message. Maybe a corrupt input file if it always stops at the same place. Put that 67th image aside and test i...
by GeeMack
2018-01-17T14:13:39-07:00
Forum: Users
Topic: Crop sprites for minimal spritesheet size
Replies: 19
Views: 962

Re: Crop sprites for minimal spritesheet size

6. Making new spritesheet with new cropped sprites from fifth stage. Take a look at the parts of this command... magick sprite*.png -background none ^ ( -clone 0--1 -layers merge ^ -set option:cropper "%[@]" +delete ) ^ -crop %[cropper] +repage ^ MIFF:- | magick montage MIFF:- ^ -background none -t...
by GeeMack
2018-01-17T13:37:28-07:00
Forum: Users
Topic: Crop sprites for minimal spritesheet size
Replies: 19
Views: 962

Re: Crop sprites for minimal spritesheet size

ImageMagick>magick convert "Input\*.png" -background rgba(0,0,0,0) ( -clone 0--1 -layers merge -set option:cropper "[@]" +delete ) -crop [cropper] +append Output\cropped_GeeMack.png convert: invalid argument for option '-crop': [cropper] @ error/convert.c/ConvertImageCommand/1206. If you're using t...
by GeeMack
2018-01-17T12:57:02-07:00
Forum: Users
Topic: Crop sprites for minimal spritesheet size
Replies: 19
Views: 962

Re: Crop sprites for minimal spritesheet size

darkfrei wrote:
2018-01-17T10:58:18-07:00
Output spritesheet is exact 336x238: two times wider and two times higher than mask after cropping.
What problems did you encounter when you tried my suggestion above?
by GeeMack
2018-01-17T10:13:44-07:00
Forum: Users
Topic: Output file name
Replies: 10
Views: 735

Re: Output file name

Thrandur wrote:
2018-01-17T09:03:09-07:00
Brilliant !

But now I have a new problem... ...this worked for 66 files out of about 15K!
I don't understand your issue. What sort of error do you get when the "mogrify" command stops running? Also, please let us know which version of ImageMagick you're using.
by GeeMack
2018-01-17T09:50:42-07:00
Forum: Users
Topic: opacity inner boarder to pic
Replies: 21
Views: 954

Re: opacity inner boarder to pic

Maybe the problem is, because my starting image (the wind rose) has already a transparent background. But with white background and making this later transparent, the inner boarders of the arrow getting ugly ... I don't know what to do. https://dropfile.to/4FdxuFx The problem is when you "-rotate" ...
by GeeMack
2018-01-17T08:31:24-07:00
Forum: Users
Topic: Output file name
Replies: 10
Views: 735

Re: Output file name

Thrandur wrote:
2018-01-17T08:00:20-07:00
How can I keep the original filenames - and without the numbering?
It looks like "mogrify" might be the right tool for what you're trying to do. Try this...

Code: Select all

mogrify -thumbnail 200x200^ -gravity center -extent 100x100 -path thumbs *.png
Make sure the directory "thumbs" already exists.
by GeeMack
2018-01-17T08:19:37-07:00
Forum: Users
Topic: opacity inner boarder to pic
Replies: 21
Views: 954

Re: opacity inner boarder to pic

Crys wrote:
2018-01-17T08:12:35-07:00
I don't know what to do.
Post your overlay image on a hosting site so we can download it and test some things with the exact image you're using.