Image Crop

Danny_J's picture

So i was wondering how exactly the Image crop patch works. I was hoping there were some example comps in the dev folder but found none. In the long run i want to take a image and splice it between two or three sprites. So that all 3 (or 2) sprites will make up the giant image. I thought the image crop would help do this so i need to better my understandings on how it works. Plus i just still want know how it works lol :-)

cybero's picture
Image Crop

The are quite a few examples of how to make some elementary changes using Image Crop, but they are buried within other templates and other examples of something else.

So here's a simple slice up example. Key points that work favourably are - make sure that your image is congruent with the maximum image rendering space capable of being configured in the patch, like 1280 * 800 is about as far as I can make it go on my machine - your mileage may vary.

It's called splitimagecropping, which now I come to think of it sounds rather like a little village somewhere in the Home Counties :-).

I shall be placing this and other useful and diverting examples of Quartz Composer work up on my site in due course, for the meantime , hope this proves to be useful.

Try jigging with the settings of each example crop by sending the output to the top patch.

You'll also find another example that is rather more structured calls upon image dimensions - key point is crop corresponds to Bounds (x,y) Image Dimensions(width, height)

PreviewAttachmentSize
splitimagecropping.qtz900.21 KB
splitimagecropping-structuredabit.qtz394.17 KB

shigekazuishihara's picture
Re: Image Crop

thanks, it immediately helped me..