Search found 9 matches

by rlandrum
2011-11-08T18:04:24-07:00
Forum: Users
Topic: Trouble Creating PSD with Layers
Replies: 20
Views: 39355

Re: Trouble Creating PSD with Layers

Nope. I segfault when I try to add a white layer. I must've done something wrong. ./bin/convert -size 600x600 -density 400 xc:white -transparent purple bg.png ./bin/convert \ \( -repage 100x400+410+10 piece-0.png -density 400 \) \ \( -repage 100x400+310+10 piece-1.png -density 400 \) \ \( -repage 10...
by rlandrum
2011-11-08T14:17:29-07:00
Forum: Users
Topic: Trouble Creating PSD with Layers
Replies: 20
Views: 39355

Re: Trouble Creating PSD with Layers

I think I've go it fixed now. It's hard coded to 0x0 in the source. Line 2269, coders/psd.c (void) WriteBlobMSBLong(image,0); (void) WriteBlobMSBLong(image,0); (void) WriteBlobMSBLong(image,(unsigned int) next_image->rows); (void) WriteBlobMSBLong(image,(unsigned int) next_image->columns); I modifie...
by rlandrum
2011-11-07T14:54:29-07:00
Forum: Users
Topic: Trouble Creating PSD with Layers
Replies: 20
Views: 39355

Re: Trouble Creating PSD with Layers

Yep. Padding the layers so they are aligned is not an option, unfortunately. As mentioned, I looked at the source and think I see the problem. I'm gonna try recompiling with modified source to see if the layers work.
by rlandrum
2011-11-06T15:20:02-07:00
Forum: Users
Topic: Trouble Creating PSD with Layers
Replies: 20
Views: 39355

Re: Trouble Creating PSD with Layers

I'm unable to make this work using the perl API either. I've looked at the source. The PSD specification says that the layer positioning expects top, left, bottom, right as the layer location, but IM is providing width, height, x, y from a struct called RectangleInfo. That doesn't seem correct, espe...
by rlandrum
2011-11-05T18:53:28-07:00
Forum: Users
Topic: Trouble Creating PSD with Layers
Replies: 20
Views: 39355

Re: Trouble Creating PSD with Layers

Forgive me for not stating the objective from the start... the finished product is not the image, but a PSD file so that a human being can manipulate the layers in such a way as to form an image. Imagine the pieces to be puzzle pieces, and the PSD file will have once piece in each layer so that the ...
by rlandrum
2011-11-05T16:55:33-07:00
Forum: Users
Topic: Trouble Creating PSD with Layers
Replies: 20
Views: 39355

Re: Trouble Creating PSD with Layers

Here's an example of what I'd like to be able to generate automatically. Note how each layer is 100x400 except for the bottom layer, which (canvas layer) which is 600x600. Each piece is position at a different offset (spaced away from 0x0). http://xjguy.com/example.psd (110K) In the solution you pro...
by rlandrum
2011-11-05T16:16:52-07:00
Forum: Users
Topic: Trouble Creating PSD with Layers
Replies: 20
Views: 39355

Re: Trouble Creating PSD with Layers

The -mosaic is getting me very close. Unfortunately it changes the size of each of my layers. My actual image is 4000x4000, which means lots of very huge layers. Maybe what I'm trying to do is too complicated. Is there anyway to move a layer once an image is created? I've looked, but I'm not seeing ...
by rlandrum
2011-11-04T20:12:53-07:00
Forum: Users
Topic: Trouble Creating PSD with Layers
Replies: 20
Views: 39355

Re: Trouble Creating PSD with Layers

That works pretty well... Thanks... However, I'm still having trouble positioning my layers. There is clearly something I'm not getting about this. It would seem fairly obvious from the various examples given, but it just isn't working for PSDs. convert -size 100x400 xc:white -fill yellow -draw 'rec...
by rlandrum
2011-11-04T18:15:17-07:00
Forum: Users
Topic: Trouble Creating PSD with Layers
Replies: 20
Views: 39355

Trouble Creating PSD with Layers

I'm attempting to create a PSD from the command line on Linux with IM 6.5.7. I have 6 layers that I'd like to create. I've found examples of how to do this, but when I try them, the output is not what I expect. Specifically, -size seems to get ignored, and the layers are too large for the canvas siz...