Search found 6 matches

by grape
2018-10-04T08:30:46-07:00
Forum: Users
Topic: Tile smaller image over a background with offsets?
Replies: 16
Views: 9497

Re: Tile smaller image over a background with offsets?

In IM 7 on Unix, this seems to do what I think you want. WxH=`magick stars.jpg -format "%wx%h" info:` ww=`echo "$WxH" | cut -dx -f1` hh=`echo "$WxH" | cut -dx -f2` centx=`magick xc: -format "%[fx:round($ww/2)]" info:` xx=$((centx)) yy=0 i=0 echo "$hh; $ww; $centx; $xx; $yy;" magick stars.jpg result ...
by grape
2018-10-03T10:35:04-07:00
Forum: Users
Topic: Tile smaller image over a background with offsets?
Replies: 16
Views: 9497

Re: Tile smaller image over a background with offsets?

-tile-offset must come before the tiling. It represents a single global offset, not the spacing for the tiling. You should be using magick ... -composite syntax rather than the older magick composite ... syntax. I think you just want to composite the cat image multiple times at the desired ...
by grape
2018-10-03T10:07:58-07:00
Forum: Users
Topic: Tile smaller image over a background with offsets?
Replies: 16
Views: 9497

Re: Tile smaller image over a background with offsets?

I am pretty new into this whole command line thing here. Basically I need to produce Exactly the output image as in the first post, with just the plain cat head instead of the space helmet one. what does the command look like if i need to use -tile-offset? because when I use it like this, IM ...
by grape
2018-10-03T07:57:51-07:00
Forum: Users
Topic: Tile smaller image over a background with offsets?
Replies: 16
Views: 9497

Re: Tile smaller image over a background with offsets?

Here is one example (Unix Syntax) Line1 - read the stars image Line2 - read the cat image and resize 50% and write to in memory mpr: format and delete the original cat Line3 - copy the stars image and tile over it with the mpr:cat image Line4 - composite the tiled cat image over the stars image ...
by grape
2018-10-02T18:17:18-07:00
Forum: Users
Topic: Tile smaller image over a background with offsets?
Replies: 16
Views: 9497

Re: Tile smaller image over a background with offsets?

Please post your two input images? Perhaps you do not want to use tiling? Also you should be using magick and not magic composite. That is and older tool and is giving you IM 6 results. See https://imagemagick.org/Usage/compose/#compose Use the convert ... -composite syntax. But for Imagemagick 7 ...
by grape
2018-10-02T16:39:20-07:00
Forum: Users
Topic: Tile smaller image over a background with offsets?
Replies: 16
Views: 9497

Tile smaller image over a background with offsets?

Hi, i have been playing with imagemgick for a little bit now. Its really powerful, but the documentation is a bit confusing for me. Hopefully you guys can help me out here. basically I have a small vector head, and another larger background. I read about the composite command with the tile options ...