Search found 4 matches

by christian
2016-08-07T13:08:46-07:00
Forum: Users
Topic: Placing a rotated image into another
Replies: 8
Views: 4949

Re: Placing a rotated image into another

Thank you for the second idea.
One thing I modified was that I exchanged the drawing of a rectangle with the drawing of an image:
convert -size 200x300 xc:white \
-draw "translate 50,150 translate 50,50 rotate 45 image over -50,-50,100,100 'grey.png'" png:- |display
I noted, that the parameter ...
by christian
2016-08-07T11:18:27-07:00
Forum: Users
Topic: Placing a rotated image into another
Replies: 8
Views: 4949

Re: Placing a rotated image into another

ok, thank you, I hoped for an easier solution.
If I understand your solution right, I have to calculate myself before, how much bigger the image will get by rotating and adjust my translation accordingly.

In this case it would be:
convert -size 200x300 xc:white \
"(" -size 100x100 xc:gray20 ...
by christian
2016-08-07T09:12:25-07:00
Forum: Users
Topic: Placing a rotated image into another
Replies: 8
Views: 4949

Re: Placing a rotated image into another

Hello, I want the grey image translated to a specific point in the background image ( here in the upper middle part, but could be everywhere else, too) and the grey image should be rotated around its center.
If I understand that right, gravity center would not help me here.
by christian
2016-08-07T08:56:50-07:00
Forum: Users
Topic: Placing a rotated image into another
Replies: 8
Views: 4949

Placing a rotated image into another

Hello,
I try to create a collage by inserting several images into one big image. The smaller image are getting translated and rotated.

Here is an example:
The background image is 200x300 pixels big and white. The smaller image is 100x100 pixels big and grey.
The smaller image should be horizontaly ...