Skip to content

Convert JPG to SCR

Convert JPG images into 256×192 ZX Spectrum SCR screens for emulators and compatible tools.

Convert JPG files online

We don’t have a dedicated online converter for JPG to SCR yet, but you can convert JPG files online to these and more formats:

Want to convert JPG to SCR?

Let us know. We pick the conversions to add next by how many people ask for them.

How to convert jpg to scr file

A ZX Spectrum emulator, paint program, or hardware-transfer workflow may require a raw .scr screen instead of a normal image file. Converting a JPG creates that platform-specific screen, but it reduces the source to the Spectrum's fixed resolution, palette, and attribute layout.

What the JPG format is

JPG, also called JPEG, is a lossy raster-image format used by cameras, phones, scanners, web browsers, and graphics editors such as Adobe Photoshop, GIMP, Affinity Photo, and Paint. It stores RGB photographs efficiently, but has no fixed resolution or palette. A JPG must therefore be resized and color-reduced before it can become a ZX Spectrum screen.

What the SCR format is

In the graphics context, .scr commonly means a raw ZX Spectrum screen. The standard file is exactly 6912 bytes: 6144 bytes for a 256×192 bitmap followed by 768 attribute bytes.

The bitmap stores one bit per pixel. Each 8×8 pixel block has an attribute containing one ink color, one paper color, and a brightness flag. Both colors must use the same normal or bright intensity group, so a block can display two colors from the Spectrum's 15-color effective palette, not an unrestricted RGB image.

This compact fixed-layout format is used by ZX Spectrum emulators, paint programs, demos, game assets, and transfers to compatible hardware. A Windows screen-saver program can also use the .scr extension, but that is an executable screen-saver format rather than a ZX Spectrum graphics file.

Desktop conversion

  1. Install a ZX Spectrum graphics editor that supports importing bitmap images and exporting raw screens, such as ZX Paintbrush. Confirm that its export option specifically says ZX Spectrum screen or raw .scr.
  2. Open the JPG and set the canvas to 256×192 pixels. Crop it to the 4:3 aspect ratio before resizing if stretching would damage the composition.
  3. Use the program's Spectrum color-reduction, attribute, or dithering options. Inspect each 8×8 block for unwanted color clashes; some editors offer manual ink and paper correction.
  4. Choose File → Save as or the equivalent export command and select the raw Spectrum screen format. Do not save only the editor's project format.
  5. Check the resulting file size. A standard raw screen should be 6912 bytes, then open it in a ZX Spectrum emulator or compatible graphics utility.

Online conversion is suitable only when the service explicitly identifies the target as a ZX Spectrum raw SCR, 256×192, 6912-byte file. Generic JPG converters may interpret .scr as another format or merely rename the file. Do not upload confidential images to an untrusted service.

Automated conversion with Python

For repeatable batch conversion, Pillow can resize the JPG while a short script writes the Spectrum bitmap and attributes. Install Pillow with:

python -m pip install Pillow

Save this as jpg_to_scr.py:

from PIL import Image
import sys

palette = [
    (0, 0, 0), (0, 0, 215), (215, 0, 0), (215, 0, 215),
    (0, 215, 0), (0, 215, 215), (215, 215, 0), (215, 215, 215),
    (0, 0, 0), (0, 0, 255), (255, 0, 0), (255, 0, 255),
    (0, 255, 0), (0, 255, 255), (255, 255, 0), (255, 255, 255)
]

def distance(a, b):
    return sum((a[i] - b[i]) ** 2 for i in range(3))

src = Image.open(sys.argv[1]).convert("RGB").resize(
    (256, 192), Image.Resampling.LANCZOS)
bitmap = bytearray(6144)
attrs = bytearray(768)

for by in range(24):
    for bx in range(32):
        pixels = [src.getpixel((bx * 8 + x, by * 8 + y))
                  for y in range(8) for x in range(8)]
        best = None
        for paper in range(16):
            for ink in range(16):
                if (paper // 8) != (ink // 8):
                    continue
                error = sum(min(distance(p, palette[paper]),
                                distance(p, palette[ink])) for p in pixels)
                if best is None or error < best[0]:
                    best = (error, paper, ink)
        _, paper, ink = best
        bright = (paper // 8) << 6
        attrs[by * 32 + bx] = bright | ((paper & 7) << 3) | (ink & 7)
        for y in range(8):
            value = 0
            for x in range(8):
                p = src.getpixel((bx * 8 + x, by * 8 + y))
                if distance(p, palette[ink]) < distance(p, palette[paper]):
                    value |= 0x80 >> x
            sy = by * 8 + y
            offset = ((sy & 0xC0) << 5) | ((sy & 7) << 8) | ((sy & 0x38) << 2) | bx
            bitmap[offset] = value

with open(sys.argv[2], "wb") as output:
    output.write(bitmap + attrs)

Run it with:

python jpg_to_scr.py input.jpg output.scr

The script uses a fixed 4:3 resize and selects the closest legal color pair independently for each 8×8 block. It does not perform advanced dithering or composition-aware cropping, so review the result in an emulator.

Quality and compatibility limits

JPEG artifacts, photographic detail, smooth gradients, and metadata are discarded. The output is limited to 256×192 pixels and two attribute colors per 8×8 block; dithering can suggest intermediate tones but may produce checkerboard patterns and flicker on real hardware.

Do not rename a JPG to .scr: the file remains JPEG data and will not load as a Spectrum screen. Amstrad CPC, ZX81, and other systems may also use .scr for different dimensions or memory layouts; verify the target platform before converting. A 6912-byte Spectrum screen is not interchangeable with those variants.

Information about file extensions and file types is provided by File-Extensions.org

Frequently asked questions

Can I just rename a JPG file to SCR to make a screensaver?

No, changing the extension does not turn a JPEG into a working screensaver. An SCR file must contain screensaver program logic that displays the image, so it has to be created by suitable screensaver software.

Will my JPG quality or transparency change when it is converted to SCR?

The picture remains a JPEG image, so its existing JPEG compression and quality are retained or may be recompressed by the screensaver software. JPEG does not support transparency, and an SCR file does not restore image data that was already lost.

Will a JPG converted to SCR fill the screen correctly?

The result depends on how the screensaver handles different screen resolutions and aspect ratios. A source image with a different shape may be stretched, cropped, or shown with empty borders, while a higher-resolution source generally gives better results on large displays.

Why does my JPG-to-SCR result not run as a screensaver?

An SCR file is normally an executable screensaver rather than a renamed picture, so a file containing only JPEG data will not run. The screensaver must be packaged with the required program structure and display behavior.

Additional formats for
jpg file conversion

Reverse conversion

Convert to scr from
other formats

Share on social media:

Already downloaded

This file has already been downloaded. For your privacy it was deleted from our server right after the download, so it cannot be downloaded again. To get it once more, convert the file again.