Hi all,
I am new to creating plugins, and what i needed to do was the following:
From an open image crop it into 4 randomly sized pieces.[/color red] I figured out a few ways to do this:
1. randomly position 2 slices and create an action in imageready to save the images into 4 portions.
2. Resize the image 4 times (in 4 different directions) and save each image.
3. Crop the image 4 times in 4 different areas and save each time.
4. copy pixel for pixel for seperate sections into 4 new images.
After looking through the SDK and examples i did not notice any examples showing how this would be possible. I would prefer to do it using slices. IF anyone knows is it possible to create 4 images from 1? Are there any examples to do this? And would you know what methods to call to mainipulate the slices or open an image to resize..???
Thank you for reading through and any help provided as i am totally stumped at the moment. Also my C/C++ skills not the sharpest at the moment, been a very long time since i last had to call upon them.
-- Jag[/color blue]
I am new to creating plugins, and what i needed to do was the following:
From an open image crop it into 4 randomly sized pieces.[/color red] I figured out a few ways to do this:
1. randomly position 2 slices and create an action in imageready to save the images into 4 portions.
2. Resize the image 4 times (in 4 different directions) and save each image.
3. Crop the image 4 times in 4 different areas and save each time.
4. copy pixel for pixel for seperate sections into 4 new images.
After looking through the SDK and examples i did not notice any examples showing how this would be possible. I would prefer to do it using slices. IF anyone knows is it possible to create 4 images from 1? Are there any examples to do this? And would you know what methods to call to mainipulate the slices or open an image to resize..???
Thank you for reading through and any help provided as i am totally stumped at the moment. Also my C/C++ skills not the sharpest at the moment, been a very long time since i last had to call upon them.
-- Jag[/color blue]