Search found 38 matches

by RQuadling
2012-04-17T08:18:35-07:00
Forum: Users
Topic: Chaining operations to make a single set of images from 1.
Replies: 5
Views: 8547

Re: Chaining operations to make a single set of images from

OK. I'll try to explain. We have a web site which pulls in thousands of images a month. The images are clothing, shoes, jewellery, etc. We take these images and, in essence, extract the product from the background and make several other images from it. These new images are fixed sizes and a combinat...
by RQuadling
2012-04-16T07:48:35-07:00
Forum: Users
Topic: Chaining operations to make a single set of images from 1.
Replies: 5
Views: 8547

Chaining operations to make a single set of images from 1.

Hello. The following code works for what it does. It takes an image and produces several images, but only works with images with a solid white background. convert B.jpg \ -fuzz 3.8% -trim +repage -write B_trim.jpg \ \ \( +clone -rotate 90 +clone -mosaic +level-colors white \) +swap -gravity center -...
by RQuadling
2012-03-30T23:24:29-07:00
Forum: Users
Topic: Creating several images in one go.
Replies: 7
Views: 13690

Re: Creating several images in one go.

Thanks again.
by RQuadling
2012-03-30T03:25:56-07:00
Forum: Users
Topic: Creating several images in one go.
Replies: 7
Views: 13690

Re: Creating several images in one go.

Same with convert orig.jpg \( +clone -thumbnail 300x300 -write 300t.jpg +delete \) \( +clone -thumbnail 150x150 -write 150t.jpg +delete \) \( +clone -thumbnail 100x100 -write 100t.jpg +delete \) \( +clone -thumbnail 60x60 -write 60t.jpg +delete \) outputs convert: unbalanced parenthesis `)' @ error/...
by RQuadling
2012-03-30T03:20:01-07:00
Forum: Users
Topic: Creating several images in one go.
Replies: 7
Views: 13690

Re: Creating several images in one go.

This might be quicker: convert input.jpg \( +clone -thumbnail 300x300 -write 300.jpg +delete \) // \( +clone -thumbnail 150x150 -write 150.jpg +delete \) // \( +clone -thumbnail 100x100 -write 100.jpg +delete \) -thumbnail 60x60 60.jpg "); or input.jpg -write mpr:image +delete // \( mpr:image -thum...
by RQuadling
2012-03-30T02:36:55-07:00
Forum: Users
Topic: Creating several images in one go.
Replies: 7
Views: 13690

Re: Creating several images in one go.

I'll give that a go.

If possible, can you tell me what I am/was doing wrong?
by RQuadling
2012-03-30T01:29:03-07:00
Forum: Users
Topic: Creating several images in one go.
Replies: 7
Views: 13690

Creating several images in one go.

Hello. I am processing a LOT of images (several thousand a day). One of the tasks is to produce a scaled version of the image at different sizes (300x300, 150x150, 100x100, 60x60). Initially I was doing something like this ... convert '/prod/891_original.jpg' -resize 300x300 '/prod/891_large.jpg' co...
by RQuadling
2012-03-30T01:00:08-07:00
Forum: Users
Topic: Squaring images.
Replies: 27
Views: 69079

Re: Squaring images.

Thank you to you all. Is there a way to determine which route is faster/less memory etc.? I don't know a lot of the terminology you mention and I'm pretty much just using your suggestions. Not a perfect solution I know - understanding them would be great. I'd like to have the fastest option if that ...
by RQuadling
2012-03-28T05:10:48-07:00
Forum: Users
Topic: Squaring images.
Replies: 27
Views: 69079

Re: Squaring images.

OK. A LOT of what's being talked about has gone over my head. To explain my requirement. We are processing images from multiple third parties. I am attempting to speed this process up and have done a LOT of work on this. My goal, for this question, was how to I take an original image and from it cre...
by RQuadling
2012-03-23T08:49:29-07:00
Forum: Users
Topic: Squaring images.
Replies: 27
Views: 69079

Squaring images.

Hello. I am trying to create square jpg images which come to us from multiple/various sources. We have no control of the sources and I don't have any dimension data. Currently we can process around 4,000 images a day. Downloading the images takes the majority of the time. The following command will ...
by RQuadling
2009-10-01T04:43:59-07:00
Forum: Bugs
Topic: Converting tif files with -type truecolor corrupts output.
Replies: 2
Views: 6227

Converting tif files with -type truecolor corrupts output.

Hi. I have been trying to find a solution to Seemingly random negative images. and I think I've found a bug in the process. Using a TIF file from our fax server (GFI FaxMaker). I add a banner to the top and bottom and output the file as a TIF file. My initial problem was random negative images. The ...
by RQuadling
2009-10-01T04:28:35-07:00
Forum: Users
Topic: Seemingly random negative images.
Replies: 9
Views: 36157

Re: Seemingly random negative images.

After generating 594 images I think I've found another bug. Taking a TIF image and using convert with the last type set as convert normal_aaa.tif -type truecolor normal_aaa_duff.tif (that is with no other parameters) results in a corrupt image. So, convert input.tif -type a -type b -type c -type tru...
by RQuadling
2009-10-01T01:41:07-07:00
Forum: Users
Topic: Seemingly random negative images.
Replies: 9
Views: 36157

Re: Seemingly random negative images.

Hello fmw42. The original images seem to be identical with regard to identity -verbose (ignoring dimensions and stats related data). Output of identity -verbose of the original file which generates normal images Output of identity -verbose of the original file which generates negated images The firs...
by RQuadling
2009-09-30T11:41:47-07:00
Forum: Users
Topic: Seemingly random negative images.
Replies: 9
Views: 36157

Re: Seemingly random negative images.

I don't know if I need the colour map. The viewer is Microsoft Windows Picture and Fax Viewer (WPFV). So, not the cutting edge in technology. But this has been working fine for years. It is the recent upgrade which is making the difference. The ordering of the colour map seems to indicate the proble...