WordPadEffect

How to glitch images with WordPad

Sometimes glitching images can be as easy as opening them and saving them again — and that’s exactly the case when image bending with Microsoft WordPad. WordPad is a basic word processor that is included with almost all versions of Microsoft Windows from Windows 95 onwards. If you are running Microsoft Windows then you’ve probably got WordPad on your system, and you can datamosh images with it.

If you don’t have the time or inclination to glitch images using WordPad you can use dedicated apps such as Glitch for iOS.

glitch4ios

To start glitching with WordPad we need to convert our source image to a BMP (Bitmap) file. This can be done with any image editing software, but since this tutorial is about WordPad we’re going to use one of its fellow Microsoft applications, Microsoft Paint, which is also included with most versions of Microsoft Windows. If you can’t find Paint, press the Win + R keys, type in “pbrush” and press Enter, Paint should open. Open your file and then choose Save as and BMP picture.

Paint-save-as

Then select 24-bit Bitmap (*.bmp;*.dib) from the Save as type dropdown, other types of BMP will work as well to varying degrees.

Paint-save-as-bitmap

Next we need to open the BMP in WordPad. If you can’t find WordPad, press the Win + R keys, type in “write” and press Enter, WordPad should open. Open your BMP image in WordPad by selecting All Documents(*.*) in the dropdown beside the File name field.

WordPad-open

Wait for WordPad to load the image as a document and then press Ctrl+S on your keyboard to Save or use the menu to Save the file.

That’s all there is to it. The process of opening and saving the image using WordPad invokes what has been dubbed the WordPad Effect. You can also try deleting some random text from the file before saving, but it’s not required to glitch the image. The splash image for this post was simply opened and then saved, the WordPad Effect did the rest.

WordPad-opened

So what’s going on here? For the curious, a cursory comparison of the before and after files seems to confirm my suspicion that the transformation, at least in some part, has to do with WordPad converting line breaks when it loads in the image. Line breaks are some bytes that tell text editors and word processors where they should break the text and continue on the next line.

Different operating systems handled them slightly differently, the bytes involved are what’s called a Line Feed, represented by 0x0A in hexadecimal, and a carriage return, 0x0D in hexadecimal. This nomenclature comes from mechanical typewriters where a line of physical paper is fed through the roller (line feed) and the carriage is returned to the beginning of the line (carriage return). In text editors the meaning is the same, a 0x0A tells the editor to move to the next line and a 0x0D tells the editor to move to the beginning of the line.

Image files don’t contain any line feeds or carriage returns, but since WordPad looks at the image data as if it were text it looks for 0x0D and 0x0A in the image file which mean something completely unrelated for images. WordPad attempts to clean up what it thinks is a text file by ensuring that all line breaks have a line feed and a carriage return, so when it finds 0x0D without an accompanying 0x0A, it adds one, and when it finds an 0x0A without an 0x0D it adds one there as well. Because 0x0A and 0x0D mean different things for images, when WordPad thinks it’s correcting a text file in actuality its corrupting the image — et voilà, the WordPad Effect. #corruptabsolutely

8 thoughts on “How to glitch images with WordPad”

    1. You simply open the image with your default software. Actually, it’s always better to use more than one program, as the image file may result incompatible with some of them, or might produce different results for every software.
      As an example, I had this file that couldn’t be opened by the default Windows Photo Viewer, and showed different pictures when interpreted by either GIMP or RawTherapee.

  1. After saving the image text file, the drawing via microsoft viewer fails. Also Photoshop and ms paint wouldn’t open the bmp file anymore. Not too sure if your advices here are really useful as you are obviously not familiar with certain windows versions. So, thanks for nothing.

    1. Glitching image files in an inherently unstable practice. I would suggest attempting the process with a different image. I’m not sure what certain versions of Windows have to do with the issue you are experiencing. Perhaps try another method of glitching if this one is not working for you.

    1. If you have Adobe Photoshop, try opening the image on there, instead of Windows image viewer. I had the same problem, but once I opened the images on photoshop it started working again.

  2. Hi there! You know if this glitch works on W10? I’ve been trying a couple of times, but unfortunately it seems to break the pic every single time 🙁

    Maybe I should change my OS to my old W7, I don’t really like W10.

    Anyway thanks in advance, keep doing that #corruptabsolutely!

    I think you are doing great 🙂

Leave a Reply