Search found 9 matches

by redkahuna
2012-03-03T16:13:44-07:00
Forum: Users
Topic: How to truncate Filename outputs?
Replies: 2
Views: 5306

Re: How to truncate Filename outputs?

Your best bet is to use some scripting solution... IM Examples, Basics, Mogrify, Batch Processing Alternatives http://www.imagemagick.org/Usage/basics/#mogrify_not I can't seem to find a way to do this in a DOS script. for %%a in ("*--large.png") do convert %%a -transparent none -resize 5...
by redkahuna
2012-03-01T16:45:54-07:00
Forum: Users
Topic: How to truncate Filename outputs?
Replies: 2
Views: 5306

How to truncate Filename outputs?

I was wondering of there was a way to create a truncated output of converted files using mogrify? ie: / image001--large.png image002--large.png image003--large.png mogrify -transparent none -resize 50% -define png:format=png32 *--large.png This code only reduces and overwrites the *--large.png files...
by redkahuna
2012-03-01T16:35:49-07:00
Forum: Bugs
Topic: PNG Transparency Bug (mogrify)
Replies: 5
Views: 13985

Re: PNG Transparency Bug (mogrify)

Thanks glennrp!
by redkahuna
2012-03-01T16:32:42-07:00
Forum: Users
Topic: DOS Script with Wildcards (% error) help.
Replies: 4
Views: 9620

Re: DOS Script with Wildcards (% error) help.

Removing the word "call" worked! Thanks Pete!
by redkahuna
2012-03-01T09:29:31-07:00
Forum: Bugs
Topic: PNG Transparency Bug (mogrify)
Replies: 5
Views: 13985

Re: PNG Transparency Bug (mogrify)

Thanks gleenrp, It creates the correct image properties but now I need a way to truncate the name on output. mogrify -transparent none -resize 50% -format PNG32 pngalpha--large.png file result: pngalpha--large.PNG32 Is there a way to change the extension back to lowercase .png (not .PNG32) and trunc...
by redkahuna
2012-03-01T09:20:37-07:00
Forum: Users
Topic: resize.bat DOS script corrupts mogrify resize %
Replies: 2
Views: 6203

resize.bat DOS script corrupts mogrify resize %

In a DOS shell typing this will work:

Code: Select all

mogrify -transparent none -resize 50% -format PNG32 *
However placing the same line in a "resize.bat" file when executing corrupts the resize command and changes it into pixels instead of a %?
Is there a workaround for this?
by redkahuna
2012-03-01T09:04:09-07:00
Forum: Users
Topic: DOS Script with Wildcards (% error) help.
Replies: 4
Views: 9620

Re: DOS Script with Wildcards (% error) help.

Hi Pete,
Somehow DOS changes the argument when adding the double %% for the percent argument for convert command and just fails?

Code: Select all

@echo off
for %%a in ("*.png") do call convert %%a -transparent none -resize 50%% PNG32:%%a
by redkahuna
2012-03-01T00:40:24-07:00
Forum: Users
Topic: DOS Script with Wildcards (% error) help.
Replies: 4
Views: 9620

DOS Script with Wildcards (% error) help.

version: ImageMagick-6.7.5-7-Q16-windows-dll.exe Can anyone help me out with this DOS script --- @echo off for %%a in ("*.png") do call convert %%a -transparent none -resize 50% PNG32:%%a --- I get error: @error/covert.c/ConvertImageCommand/2353 because the 50% resize argument has a "...
by redkahuna
2012-03-01T00:37:07-07:00
Forum: Bugs
Topic: PNG Transparency Bug (mogrify)
Replies: 5
Views: 13985

PNG Transparency Bug (mogrify)

version: ImageMagick-6.7.5-7-Q16-windows-dll.exe Small PNG 32bit images that only have greyscale colors with full 8bit alpha will not convert without loosing the alpha layer when using mogrify while convert still works. "convert pngalpha.png -transparent none -resize 50% PNG32:pngalpha.png"...