Search found 8 matches

by blindcoder
2013-06-21T00:40:32-07:00
Forum: Users
Topic: Create (semi-) transparency on "shaded" areas of an image
Replies: 2
Views: 2534

Create (semi-) transparency on "shaded" areas of an image

Hello. I have this images and many more like it: https://docs.google.com/file/d/0B5ZUp1_g7uQlZVBKMjRBeDh2X2c/edit What I want to achieve is getting all black areas transparent and all "shaded" areas (ie: the part behind the trees) either also transparent or ideally semi-transparent Currently I use ...
by blindcoder
2013-06-17T07:07:47-07:00
Forum: Users
Topic: Resizing and cropping one image multiple times in one comman
Replies: 11
Views: 7377

Re: Resizing and cropping one image multiple times in one co

snibgo wrote:The sequence ...

Code: Select all

-resize 50% -write mpr:output \) \
\( mpr:output -crop 256x256
... can be replaced with ...

Code: Select all

-resize 50% -crop 256x256
But only for the last one, right? Or is it automatically written back to mpr:output?
by blindcoder
2013-06-17T06:27:33-07:00
Forum: Users
Topic: Resizing and cropping one image multiple times in one comman
Replies: 11
Views: 7377

Re: Resizing and cropping one image multiple times in one co

Yes, that's it. However, you don't have a final output file, so you should add "NULL:" to the end. Alternatively, change your last line to remove the parentheses and "-write". After your resize, you are writing the mpr then immediately reading it again. This is superfluous. Ah, yes, I forgot to ...
by blindcoder
2013-06-17T06:15:08-07:00
Forum: Users
Topic: Resizing and cropping one image multiple times in one comman
Replies: 11
Views: 7377

SOLVED: Resizing and cropping one image multiple times in on

The basic syntax of the convert command is: convert {input_file} {processing} {output_file} If you want to write in other places, you need the "-write" command. As you did for the mpr outputs. Not sure if you meant to say this, but with this hint I managed to get it working like this: convert ...
by blindcoder
2013-06-17T05:08:59-07:00
Forum: Users
Topic: Resizing and cropping one image multiple times in one comman
Replies: 11
Views: 7377

Re: Resizing and cropping one image multiple times in one co

I'm running this on Ubuntu 12.04 with IM 6.6.9-7 2013-06-09 Q8 Maybe I asked it to read it, but I did not mean to do that. I meant for convert to write cropped tiles of 256x256 px to 0_0.jpg 0_1.jpg etc. Like it would with: convert -monitor ../output.jpg -crop 256x256 -set filename:tile "%[fx:page.x ...
by blindcoder
2013-06-17T02:49:44-07:00
Forum: Users
Topic: Resizing and cropping one image multiple times in one comman
Replies: 11
Views: 7377

Resizing and cropping one image multiple times in one comman

Hello. I have another question about using a single command for multiple operations: I want to crop an image into tiles, then resize that image, then crop the result again. Right now I have this code: convert -monitor ../output.jpg \ -write mpr:output \ \( mpr:output -crop 256x256 -set filename:tile ...
by blindcoder
2013-06-17T02:44:28-07:00
Forum: Users
Topic: How to decrease memory usage of convert?
Replies: 2
Views: 4792

Re: How to decrease memory usage of convert?

I understand, thank you for the answer!
by blindcoder
2013-06-14T00:41:38-07:00
Forum: Users
Topic: How to decrease memory usage of convert?
Replies: 2
Views: 4792

How to decrease memory usage of convert?

Hello. I'm stitching together a map from many many screenshots of a video game. My machine specs: Intel i7M Quad-Core @ 2.90GHz - 16 GB RAM - 500 GB SSD Harddisk - Ubuntu 12.04 My MAGICK environment: MAGICK_MEMORY_LIMIT=12G MAGICK_TEMPORARY_PATH=. My imagemagick version: $ identify -version Version ...