scramble an image

2322 views12 repliesLast post: 2/26/2006
Hello,
I would like to know how to scramble an image using photoshop.

Thanks.
#1
"mst" wrote in message
Hello,
I would like to know how to scramble an image using photoshop.
Thanks.

More info would help.

MH
#2
Hello,
I have an image. I would like to cut the image into say around 100 small boxes and rearrange them randomly.
#3
"mst" wrote in message
Hello,
I have an image. I would like to cut the image into say around 100 small boxes and rearrange them randomly.

I`m not a true Photoshop expert, but try going into
Filter/Stylize/Tiles..... and dabble around with the sliders..........
#4
"mst" wrote in message
Hello,
I have an image. I would like to cut the image into say around 100 small boxes and rearrange them randomly.

It will be a slow process.
Control+R to show the rulers and double click on one of them to change the scale to percent.
Drag horizontal and vertical guides out in 10% increments, this will give you a hundred squares.
With the marquee tool (M) on rectangular, select a square and then Control+X (cut) followed by Control + V (paste)
This will put the selected tile onto its own layer where you will able to rotate it or whatever with the transform tool (Control+T) and move the tile around with the move tool (V).
Repeat 100 times ;-)

HTH
MH
#5
"Mike Hyndman" wrote in message
"mst" wrote in message
Hello,
I have an image. I would like to cut the image into say around 100 small boxes and rearrange them randomly.

It will be a slow process.
Control+R to show the rulers and double click on one of them to change the scale to percent.
Drag horizontal and vertical guides out in 10% increments, this will give you a hundred squares.
With the marquee tool (M) on rectangular, select a square and then Control+X (cut) followed by Control + V (paste)
This will put the selected tile onto its own layer where you will able to rotate it or whatever with the transform tool (Control+T) and move the tile around with the move tool (V).
Repeat 100 times ;-)

This might speed it up a bit.
Once you have the grid in place, you can set your Rectangular Marquee to a Fixed Size, entering values that match the size of the grid spaces. Set View--->Snap To...--->Guidelines and select away. ;-)

MH
#6
mst wrote:
Hello,
I have an image. I would like to cut the image into say around 100 small boxes and rearrange them randomly.

Okay, I built a simple filter to break the image (or selection) into 10x10 pieces and shuffle them (note, each tile has to be identical, so if the image is not a multiple of N wide or high, there will be thin unprocessed strips on the right and/or bottom). If this is what you want, I'll consider adding a user interface to specify the number of tiles. (The plugin, once installed, is found at
Filter->Telegraphics->Scramble.)

Prototype at:
http://www.telegraphics.com.au/sw/files/scramble-0.1b2-win.z ip (Win) http://www.telegraphics.com.au/sw/files/scramble-0.1b1.sit (Mac) GPL source code @ http://www.telegraphics.com.au/svn/scramble/trunk

If I finish this, I'll put it up with the rest of my plugins at http://www.telegraphics.com.au/sw/

Playing with this, you get a rather neat effect if you scramble then Gaussian Blur a bit and then scramble again... At 10x10 it would be a jigsaw-like challenge to reassemble by hand. (At higher tilings you'd be able to "poor man's encrypt" an image, and with the corresponding anti-permutation, the receiver could restore it to intactness. Ideally the filter would store the permutation in a file, for instance, so that it could be reversed later.)
#7
mst wrote:
Hello,
I have an image. I would like to cut the image into say around 100 small boxes and rearrange them randomly.

Okay, I built a simple filter to break the image (or selection) into 10x10 pieces and shuffle them (note, each tile has to be identical, so if the image is not a multiple of N wide or high, there will be thin unprocessed strips on the right and/or bottom). If this is what you want, I'll consider adding a user interface to specify the number of tiles. (The plugin, once installed, is found at
Filter->Telegraphics->Scramble.)

Prototype at:
http://www.telegraphics.com.au/sw/files/scramble-0.1b2-win.z ip (Win) http://www.telegraphics.com.au/sw/files/scramble-0.1b2.sit (Mac) GPL source code @ http://www.telegraphics.com.au/svn/scramble/trunk

If I finish this, I'll put it up with the rest of my plugins at http://www.telegraphics.com.au/sw/

Playing with this, you get a rather neat effect if you scramble then Gaussian Blur a bit and then scramble again... At 10x10 it would be a jigsaw-like challenge to reassemble by hand. (At higher tilings you'd be able to "poor man's encrypt" an image, and with the corresponding anti-permutation, the receiver could restore it to intactness. Ideally the filter would store the permutation in a file, for instance, so that it could be reversed later.)
#8
"toby" wrote in message
mst wrote:
Hello,
I have an image. I would like to cut the image into say around 100 small boxes and rearrange them randomly.

Okay, I built a simple filter to break the image (or selection) into 10x10 pieces and shuffle them (note, each tile has to be identical, so if the image is not a multiple of N wide or high, there will be thin unprocessed strips on the right and/or bottom). If this is what you want, I'll consider adding a user interface to specify the number of tiles. (The plugin, once installed, is found at
Filter->Telegraphics->Scramble.)

Prototype at:
http://www.telegraphics.com.au/sw/files/scramble-0.1b2-win.z ip (Win) http://www.telegraphics.com.au/sw/files/scramble-0.1b2.sit (Mac) GPL source code @ http://www.telegraphics.com.au/svn/scramble/trunk
If I finish this, I'll put it up with the rest of my plugins at http://www.telegraphics.com.au/sw/

Playing with this, you get a rather neat effect if you scramble then Gaussian Blur a bit and then scramble again... At 10x10 it would be a jigsaw-like challenge to reassemble by hand. (At higher tilings you'd be able to "poor man's encrypt" an image, and with the corresponding anti-permutation, the receiver could restore it to intactness. Ideally the filter would store the permutation in a file, for instance, so that it could be reversed later.)
Toby,

This is one fantastic piece of work, it does exactly what the OP requested. I have tried it on images with different aspect ratios and I have not seen the unprocessed banding you describe.
I had found some actions at
http://www.panosfx.com/index.php?option=com_content&task =category&sectionid=4&id=13&Itemid=27
that went part of the way, some even making jigsaw type pieces, but even these had to be scrambled by hand.

Regards

Mike H
#9
Mike Hyndman wrote:
"toby" wrote in message
mst wrote:
Hello,
I have an image. I would like to cut the image into say around 100 small boxes and rearrange them randomly.

Okay, I built a simple filter to break the image (or selection) into 10x10 pieces and shuffle them (note, each tile has to be identical, so if the image is not a multiple of N wide or high, there will be thin unprocessed strips on the right and/or bottom). If this is what you want, I'll consider adding a user interface to specify the number of tiles. (The plugin, once installed, is found at
Filter->Telegraphics->Scramble.)

Prototype at:
http://www.telegraphics.com.au/sw/files/scramble-0.1b2-win.z ip (Win) http://www.telegraphics.com.au/sw/files/scramble-0.1b2.sit (Mac) GPL source code @ http://www.telegraphics.com.au/svn/scramble/trunk
If I finish this, I'll put it up with the rest of my plugins at http://www.telegraphics.com.au/sw/

Playing with this, you get a rather neat effect if you scramble then Gaussian Blur a bit and then scramble again... At 10x10 it would be a jigsaw-like challenge to reassemble by hand. (At higher tilings you'd be able to "poor man's encrypt" an image, and with the corresponding anti-permutation, the receiver could restore it to intactness. Ideally the filter would store the permutation in a file, for instance, so that it could be reversed later.)
Toby,

This is one fantastic piece of work, it does exactly what the OP requested. I have tried it on images with different aspect ratios and I have not seen the unprocessed banding you describe.

The unprocessed strips are an inevitable artifact if your image isn't a multiple of 10, because each tile has to be equal sized. If your image is 105x105, for instance, tiles will be 10x10, and five righthand rows and file bottom columns won't be touched. I just wanted to point this out in case it surprised anyone.

I'll add a UI for the "tile count" parameter, I want to see what *really* scrambled images look like.

I had found some actions at
http://www.panosfx.com/index.php?option=com_content&task =category&sectionid=4&id=13&Itemid=27
that went part of the way, some even making jigsaw type pieces, but even these had to be scrambled by hand.

Regards

Mike H
#10
"toby" wrote in message
Mike Hyndman wrote:
"toby" wrote in message
mst wrote:
Hello,
I have an image. I would like to cut the image into say around 100 small boxes and rearrange them randomly.

Okay, I built a simple filter to break the image (or selection) into 10x10 pieces and shuffle them (note, each tile has to be identical, so if the image is not a multiple of N wide or high, there will be thin unprocessed strips on the right and/or bottom). If this is what you want, I'll consider adding a user interface to specify the number of tiles. (The plugin, once installed, is found at
Filter->Telegraphics->Scramble.)

Prototype at:
http://www.telegraphics.com.au/sw/files/scramble-0.1b2-win.z ip (Win) http://www.telegraphics.com.au/sw/files/scramble-0.1b2.sit (Mac) GPL source code @ http://www.telegraphics.com.au/svn/scramble/trunk
If I finish this, I'll put it up with the rest of my plugins at http://www.telegraphics.com.au/sw/

Playing with this, you get a rather neat effect if you scramble then Gaussian Blur a bit and then scramble again... At 10x10 it would be a jigsaw-like challenge to reassemble by hand. (At higher tilings you'd be able to "poor man's encrypt" an image, and with the corresponding anti-permutation, the receiver could restore it to intactness. Ideally the filter would store the permutation in a file, for instance, so that it could be reversed later.)
Toby,

This is one fantastic piece of work, it does exactly what the OP requested.
I have tried it on images with different aspect ratios and I have not seen
the unprocessed banding you describe.

The unprocessed strips are an inevitable artifact if your image isn't a multiple of 10, because each tile has to be equal sized. If your image is 105x105, for instance, tiles will be 10x10, and five righthand rows and file bottom columns won't be touched. I just wanted to point this out in case it surprised anyone.

I'll add a UI for the "tile count" parameter, I want to see what *really* scrambled images look like.
Toby,

That's the answer, all the images I tried the plug in on had a resolution of 300ppi (30*10) So, providing that the image "resolution" is a multiple of 10, then there should be no problem using your plug in, no?

Regards

Mike H
#11
Mike Hyndman wrote:
"toby" wrote in message
Mike Hyndman wrote:
"toby" wrote in message
mst wrote:
Hello,
I have an image. I would like to cut the image into say around 100 small boxes and rearrange them randomly.

Okay, I built a simple filter to break the image (or selection) into 10x10 pieces and shuffle them ...
Toby,

This is one fantastic piece of work, it does exactly what the OP requested.
I have tried it on images with different aspect ratios and I have not seen
the unprocessed banding you describe.

The unprocessed strips are an inevitable artifact if your image isn't a multiple of 10, ...
Toby,

That's the answer, all the images I tried the plug in on had a resolution of 300ppi (30*10) So, providing that the image "resolution" is a multiple of 10, then there should be no problem using your plug in, no?

It's about pixel count, so probably your images were multiples.

Regards

Mike H
#12
toby wrote:
mst wrote:
Hello,
I have an image. I would like to cut the image into say around 100 small boxes and rearrange them randomly.

Okay, I built a simple filter to break the image (or selection) into 10x10 pieces and shuffle them... If this is what you
want, I'll consider adding a user interface

Now asks for tile width and height, download update from: http://www.telegraphics.com.au/sw/files/scramble-0.2b1-win.z ip http://www.telegraphics.com.au/sw/files/scramble-0.2b1.sit (Mac)
#13