Search found 18 matches

by schel4ok
2015-11-24T13:14:16-07:00
Forum: Users
Topic: mogrify file number limit
Replies: 4
Views: 3625

Re: mogrify file number limit

I use Open Server 5.2.2 from http://open-server.ru/
by schel4ok
2015-11-24T12:58:58-07:00
Forum: Users
Topic: mogrify file number limit
Replies: 4
Views: 3625

Re: mogrify file number limit

$ convert -version
Version: ImageMagick 6.8.9-9 Q16 x86 2014-10-19 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib cairo freetype jbig jng jp2 jpeg lcms lqr pangocairo png ps rsvg tiff webp xml zlib
by schel4ok
2015-11-22T13:45:24-07:00
Forum: Users
Topic: mogrify file number limit
Replies: 4
Views: 3625

mogrify file number limit

Hi,

It seems that mogrify has file number limit per directory.
Because I have one directory with 3335 pictures and mogrify always returns me line 4: /d/openserver/modules/imagemagick/mogrify: Bad file number

I checked that when I have more than 742 files in directory then I always got this error ...
by schel4ok
2015-09-14T06:47:17-07:00
Forum: Users
Topic: -set filename doesn't work
Replies: 9
Views: 6830

Re: -set filename doesn't work

my mogrify is like this

smartresize() {
mogrify -verbose -path $1 -filter Triangle -define filter:support=2 -thumbnail $2 \
-unsharp 0.25x0.08+8.3+0.045 -dither None -posterize 136 -quality 82 \
-define jpeg:fancy-upsampling=off -define png:compression-filter=5 \
-define png:compression-level ...
by schel4ok
2015-09-14T06:45:22-07:00
Forum: Bugs
Topic: -define jpeg:fancy-upsampling=off ignored w/ convert
Replies: 2
Views: 10908

Re: -define jpeg:fancy-upsampling=off ignored w/ convert

I found reason of this problem.
I just needed to change directory to default
by schel4ok
2015-09-12T11:53:22-07:00
Forum: Users
Topic: -set filename doesn't work
Replies: 9
Views: 6830

Re: -set filename doesn't work

I checked that this works well with convert, but with mogrify I have errors

Code: Select all

mogrify.exe: unable to open image `%[filename:mysize]': No such file or directory @ error/blob.c/OpenBlob/2709.
mogrify.exe: no decode delegate for this image format `' @ error/constitute.c/ReadImage/501.
by schel4ok
2015-09-12T07:04:29-07:00
Forum: Users
Topic: -set filename doesn't work
Replies: 9
Views: 6830

Re: -set filename doesn't work

And why %f might not include directory?
by schel4ok
2015-09-12T06:18:18-07:00
Forum: Users
Topic: -set filename doesn't work
Replies: 9
Views: 6830

Re: -set filename doesn't work

you are right. I didn't notice that.
But what I'm looking for is how to rename files according to this pattern
foldername-001.jpg
foldername-002.jpg
foldername-003.jpg

I still can't understand how to do this.
When I execute this code

for f in *.*
do convert -verbose $f -set filename:mysize '%d ...
by schel4ok
2015-09-12T05:07:01-07:00
Forum: Users
Topic: -set filename doesn't work
Replies: 9
Views: 6830

-set filename doesn't work

I try to do file rename just like described here http://www.imagemagick.org/Usage/files/#save_escapes
But I get error
for f in *.*
do convert -verbose $f -set filename:mysize"%wx%h";
done

$ sh test.sh
dush-22.jpg JPEG 640x480 640x480+0+0 8-bit sRGB 61.6KB 0.016u 0:00.010
convert.exe: option ...
by schel4ok
2015-09-11T14:02:17-07:00
Forum: Users
Topic: resize thumbnails of different proportion to fit output size
Replies: 2
Views: 2712

resize thumbnails of different proportion to fit output size

I have folder with photos of different orientation. Portrait and album.
But I need to resize them to fit 234x180 thumbnail without white segments.
Now I use code below to solve this issue. So I have separate folders to store portrait and album pictures.
I'm interested maybe it is possible to do the ...
by schel4ok
2015-09-03T23:37:44-07:00
Forum: Users
Topic: batch resize of images depends on size
Replies: 12
Views: 8146

Re: batch resize of images depends on size

could you also help me with this issue. It is very similar with error above

If I do this, it is OK.

mogrify -path ../out1 -filter Triangle -define filter:support=2 -thumbnail 640 \
-unsharp 0.25x0.08+8.3+0.045 -dither None -posterize 136 -quality 82 \
-define jpeg:fancy-upsampling=off -define png ...
by schel4ok
2015-09-01T06:04:19-07:00
Forum: Bugs
Topic: -define jpeg:fancy-upsampling=off ignored w/ convert
Replies: 2
Views: 10908

Re: -define jpeg:fancy-upsampling=off ignored w/ convert

hello,

I have problem with your script. If I do this, it is OK.

mogrify -path ../out1 -filter Triangle -define filter:support=2 -thumbnail 640 \
-unsharp 0.25x0.08+8.3+0.045 -dither None -posterize 136 -quality 82 \
-define jpeg:fancy-upsampling=off -define png:compression-filter=5 \
-define png ...
by schel4ok
2015-09-01T00:49:22-07:00
Forum: Users
Topic: batch resize of images depends on size
Replies: 12
Views: 8146

Re: batch resize of images depends on size

Version: ImageMagick 6.8.9-9 Q16 x86 2014-10-19

it is integrated in openserver package for local development
by schel4ok
2015-09-01T00:31:24-07:00
Forum: Users
Topic: batch resize of images depends on size
Replies: 12
Views: 8146

Re: batch resize of images depends on size

both works. Thank you.

Code: Select all

$ uname -a
MINGW32_NT-6.1 WIN-SV4R9NF6R3V 1.0.12(0.46/3/2) 2012-07-05 14:56 i686 unknown