Search found 28 matches

by arizonagroovejet
2014-10-30T02:08:16-07:00
Forum: Users
Topic: Using MIFF and piping to convert produces unexpected result
Replies: 12
Views: 7863

Re: Using MIFF and piping to convert produces unexpected res

It is not an issue with MIFF: It happens with other intermediate formats such as PNG and GIF So it does. I got so hung up on why the results weren't what I was expecting I didn't think to try other formats. It seems to have to do with using all caps for variable which is usually a system variable. ...
by arizonagroovejet
2014-10-29T15:07:34-07:00
Forum: Users
Topic: Using MIFF and piping to convert produces unexpected result
Replies: 12
Views: 7863

Using MIFF and piping to convert produces unexpected result

I've been messing around with bash scripts on Linux that contain ImageMagick commands with variables that include the $RANDOM. This produces the a square of the same colour every time I run it: mike@mine:~$ export RANDOM=1234; convert -size 50x50 xc:red -modulate 100,50,$((RANDOM%200)) foo.png I con...
by arizonagroovejet
2011-02-15T13:03:46-07:00
Forum: Users
Topic: Cropped PNG is blank.
Replies: 1
Views: 5066

Cropped PNG is blank.

I create a PNG. $ convert -background transparent -fill black -gravity center -size 1680x1050 -font Arial-Bold caption:"HAPPY\nBIRTHDAY" happybirthday.png The result is a PNG image 1680x1050 with black text on a transparent background. Then I crop the image. $ convert happybirthday.png -gr...
by arizonagroovejet
2010-09-22T11:36:29-07:00
Forum: Users
Topic: Montage of lots of files. Lots.
Replies: 5
Views: 11040

Re: Montage of lots of files. Lots.

The few-at-a-time approach worked just fine. I split them up in to to batches of less than 10000, montaged them, then montaged some of the resulting montages together and then montaged some of the resulting montages together until I had one final montage. I could maybe have skipped a couple of steps...
by arizonagroovejet
2010-09-19T06:52:11-07:00
Forum: Users
Topic: Montage of lots of files. Lots.
Replies: 5
Views: 11040

Re: Montage of lots of files. Lots.

Try this command: montage -monitor -limit area 0 -define registry:temporary-path=~ -define jpeg:size=160x160 \ -geometry 160x160 '*[160x160]' montage.png Thanks for the suggestion, but it got as far as file 123126 then output 'Memory allocation failed' and stopped doing anything. I hit ctrl-c and m...
by arizonagroovejet
2010-09-18T12:39:40-07:00
Forum: Users
Topic: Montage of lots of files. Lots.
Replies: 5
Views: 11040

Montage of lots of files. Lots.

I'm trying to produce a montage of a lot of files. This many mike@continuity:~/Videos/bttfimages_smaller$ ls | wc -l 166887 Each image is a jpeg 160x88 and less than 15KB. My first attempt failed: mike@continuity:~/Videos/bttfimages_smaller$ montage '*' -tile 409x409 ../bttfmontage.jpg montage: Memo...
by arizonagroovejet
2010-03-18T16:23:20-07:00
Forum: Users
Topic: Segmentation faults and abort trap errors.
Replies: 1
Views: 6419

Segmentation faults and abort trap errors.

Mac OS X 10.6.2, ImageMagick installed via MacPorts. (I can't use the binary build that's provided as it's X86_86 and I have a Core Duo processor.) For a while now whenever I've tried and do anything with ImageMagick, the command exits with either an Abort Trap error or Segmentation Fault error, but...
by arizonagroovejet
2009-11-12T15:03:37-07:00
Forum: Bugs
Topic: Thumb::URI file:////
Replies: 1
Views: 5005

Thumb::URI file:////

If I generate a thumbnail like so: $ convert /Users/mike/Documents/DSC01578.JPG -thumbnail 128x foothumb.png The information required by the freedesktop.org thumbnail specification http://jens.triq.net/thumbnail-spec/creation.html is inserted in to the image: $ identify -verbose foothumb.png | grep ...
by arizonagroovejet
2009-01-22T12:19:36-07:00
Forum: Users
Topic: Polaroid rotation randomness (lack of)
Replies: 10
Views: 20565

Re: Polaroid rotation randomness (lack of)

With your code - I have no idea how it works or what it is :shock: can you generate a random number automaticaly ? It's just bash script and yes, I can generate a random number and use that. Bash has a random number generation via the $RANDOM varaible, e.g. mike@continuity:~$ echo $RANDOM 22433 mik...
by arizonagroovejet
2009-01-21T13:47:22-07:00
Forum: Users
Topic: Polaroid rotation randomness (lack of)
Replies: 10
Views: 20565

Re: Polaroid rotation randomness (lack of)

So I zipped up the script I'm using and the test images, took them to work, installed openSUSE 11.1 64bit on a spare machine, ran the script and got.... randomly rotated images. Came home from work, ran the script again on my openSUSE 11.1 64bit machine and got... same as yesterday. Every image bare...
by arizonagroovejet
2009-01-20T15:39:59-07:00
Forum: Users
Topic: Polaroid rotation randomness (lack of)
Replies: 10
Views: 20565

Re: Polaroid rotation randomness (lack of)

We're clueless why it fails for you. We ran the +polaroid option multiple times and it returned these angles: How do you get that info? Could you use -poleroid and generate a random angle to insert into your code arizonagroovejet? Yeah I could if need be. I did just try it the same commands on anot...
by arizonagroovejet
2009-01-20T13:33:03-07:00
Forum: Users
Topic: Polaroid rotation randomness (lack of)
Replies: 10
Views: 20565

Re: Polaroid rotation randomness (lack of)

Thanks for the reply, but I'm rather confused by it. The angle is random within 15 degrees. Except for me it's not. Like I said the results are only ever tilted to the left and there is no real randomness. A random rotation within the range of +/- 15 degrees would be fine, but like I said, I'm not g...
by arizonagroovejet
2009-01-20T12:41:18-07:00
Forum: Users
Topic: Polaroid rotation randomness (lack of)
Replies: 10
Views: 20565

Polaroid rotation randomness (lack of)

I'm using the code below to produce a bunch of images where the source photo has been given the polaroid treatment and had an image of a randomly selected thumb-tack added to it. The use of +polaroid is supposed to give a randomized angle. (http://www.imagemagick.org/Usage/thumbnails/#polaroid) Howe...