# Find the secret word in this encrypted image (part 1)

There is a secret word associated with this image that will be clear if it is decrypted properly. What is that word? (JPEG artifacts are irrelevant)

Full size image: https://i.sstatic.net/cc5yl.jpg

I hesitate to say

STAR

since

a mere width/height adjustment seems a bit easy.

Method:

It's visually recognizable as an image that has been skewed in width. I converted it to a BMP, opened it with a hex editor, and started guessing at some values to adjust the width field. After 3 or 4 attempts, I stumbled upon one which made it readable enough to obtain the above, and did not attempt to further refine the value.

Edit by Author:

The "ideal" dimensions alluded to in the above method is when the dimensions are square. Multiplying the image dimensions together, you get $1337 * 1914 = 2559018$.
The square root of this is 1599.7, so make the image dimensions 1600 X 1600 and you get the below image:

• can you explain your answer (such as how you figured it out and perhaps the decrypted image)? Yes it is pretty simple for someone in this field of study since it's a common phenomenon encountered when debugging. Commented May 18, 2015 at 2:06
• @Quark Method added. Commented May 18, 2015 at 2:16
• Could you add an image of what you got? I ended up with something that looks similar to a star, but I'm not sure if that's just a coincidence. Commented May 18, 2015 at 2:32
• Sorry, but I still don't really understand exactly how to do it. If you could link what type of software would be used, or something that explains it in a step by step fashion I'd appreciate it. The way I'm reading it right now is resize the picture to 1600x1600, and clearly there's more to it than that. Commented May 18, 2015 at 3:53
• @MisterEman22 Basically the width and height information of the image was changed, so all the pixel information (RGB) is there but the picture goes to the next row before it should. There are many ways to fix this, one is to edit the image width and height values in the image header. Certain file types (such as BMP used by Ayefork) have values that can easily be edited. Personally I used GIMP to convert the image to a .PPM and then edited the 4th line in the header (opening the image with notepad++) which corresponds to width/height. Commented May 18, 2015 at 7:13

The image contains a little bit more than in Ayefork's answer.