IMDTouchKnowledge BaseShop main store

Troubleshooting

Why WinCC Runtime V13 bitmap icons look worse than in simulation

HMI and touchscreens Published 7 min read By IMDTouch engineering team

Short answer

WinCC V13 resamples any bitmap whose pixel dimensions differ from the graphic object's size, and the target runtime's resampling looks worse than the simulator's. Author each graphic at its native size, set the object to the same size or enable Fit object size to graphic, and disable zoom in picture windows.

On this page
  1. Why the simulator and the panel disagree
  2. Confirm the scaling on the failing graphic
  3. The scaling check for a 100 x 150 px icon drawn at 150 x 225
  4. Fix the graphic, the object and the picture window
  5. Settings that will not touch it
  6. The decision for each case
  7. Questions asked

Pixelated bitmap icons in WinCC V13 are almost always a scaling mismatch, not a hardware fault: the graphic object on the screen is not the same size in pixels as the bitmap file behind it, and the downloaded runtime resamples that mismatch more crudely than the simulator on your engineering station does. Display every graphic at its native resolution and the artifact disappears — author the file at the exact pixel size you want on screen, set the object to that size or tick Fit object size to graphic, and turn off zoom on any picture window that shows it. Swapping monitors and graphics cards changes nothing, and neither do the adapt screen, optimized drawing or full screen checkboxes, because none of them touches the object-to-bitmap ratio. Here is how to confirm the scaling, work the numbers for one icon, and fix each case.

Why the simulator and the panel disagree #

WinCC renders the same screen through two different paths: the simulator on the engineering station, and the runtime you download to the operator station or panel. The project, the screens and the graphics files are identical, and in the reported fault both stations even ran at the same screen resolution — yet the same PNG graphics looked clean on one and rough on the other. Swapping the monitors between stations and trying a second graphics card changed nothing. That combination is the signature of scaling inside the project, not a display fault.

The scaling that matters is not screen-to-screen but object-to-bitmap: the width and height you give the graphic object in the screen editor, against the pixel dimensions of the file behind it. Match the two exactly and no resampling happens — both paths draw the file dot-for-dot and look the same. Let them differ and each path interpolates the bitmap to the object's size with its own algorithm, and the downloaded runtime is the path that shows the damage. That is also why a deliberately small test screen with no screen-level scaling still looked bad: the resampling sits one level below the screen, on the object itself.

Confirm the scaling on the failing graphic #

Work down this list on the engineering station until you find the mismatch:

  1. Open the screen whose icons degrade after download and select one failing graphic object.
  2. Under General in the object's Properties, read the pixel dimension entry — the file's width and height in pixels.
  3. Under Layout, open Position & size and read the width and height you have given the object.
  4. Compare the two pairs. Any difference on either axis means the runtime resamples that bitmap every time it draws it.
  5. Check the file format. Converting to PNG alone did not cure the reported case because the files were already PNG with transparent backgrounds; keep transparency-bearing icons as PNG regardless, since JPEG has no alpha channel to carry a transparent background.
  6. Note the target runtime — WinCC Advanced RT or WinCC Professional RT. On a Professional station there is one more place scaling hides: a picture window.

The scaling check for a 100 x 150 px icon drawn at 150 x 225 #

This is the arithmetic for one icon: a graphic whose file measures 100 x 150 px — the example dimension the pixel dimension entry shows for such an object — stretched to an object size of 150 x 225 px to fill a larger slot. The simulator tolerates the stretch; the downloaded runtime shows jagged, doubled edges.

Inputs:

  • Bitmap pixel dimension: 100 x 150 px, read under General in the object's Properties.
  • Object size: 150 x 225 px — an assumed stretch, the kind of oversized slot that produces exactly the reported artifacts.
  • Screen resolution: identical on both stations, so no screen-level scaling is in play.

The rule in words: divide the object's size by the bitmap's pixel size on each axis. The quotient is the scale factor the runtime must apply; exactly 1.0 draws the file dot-for-dot, anything else interpolates.

Arithmetic:

  • Horizontal: 150 px / 100 px = 1.5
  • Vertical: 225 px / 150 px = 1.5

Result: every bitmap pixel is stretched to 1.5 screen pixels on both axes, so the runtime interpolates — manufacturing pixels the file does not contain — and the panel path shows that interpolation as blur and jagged edges.

Decision and threshold: a scale factor of exactly 1.0 on both axes is the pass condition; anything else is the defect. Restore the object to the bitmap's own dimensions — 100 / 100 = 1.0 horizontally, 150 / 150 = 1.0 vertically — or tick Fit object size to graphic, which pins the object rectangle to the file so the ratio cannot drift again. Displaying the graphic at native resolution is the change that cleared this fault in practice.

Fix the graphic, the object and the picture window #

  1. Author the file at native size. Open the source graphic in a graphics editor and resize the canvas to the exact pixel dimensions the icon occupies on the screen — an icon that should sit at 100 x 100 px gets a 100 x 100 px canvas. Save as PNG with an alpha channel wherever you need the transparent background. Controlling the file's pixels yourself is what controls the aliasing.
  2. Match the object to the file. In the screen editor, set width and height under Layout, Position & size to the file's pixel dimensions, or tick Fit object size to graphic in the Fit to size section — some WinCC versions name the same control Adjust object size to graphic. Either way the object rectangle locks to the graphic and the scale factor becomes 1.
  3. Clear zoom out of picture windows. If the icon is shown in a picture window, switch off that window's customize screen property, the one that provides zooming. Zoom resizes the whole inner picture and resamples every graphic inside it. A picture window's sizing behavior is its own subject — why a WinCC picture window keeps objects at the old size covers the companion case where the window scales and its objects hold still.
  4. Set the runtime resolution to what the display actually runs. In Runtime settings, under General > Screen > Screen resolution, enter the target's own resolution. A picture authored for one resolution and shown at another has the same problem one level up — why a WinCC picture made for 1080p cannot fit a 4:3 workstation works through that case.

Settings that will not touch it #

Every one of these was tried on the reported station before the real cause surfaced, and none changed the picture:

  • adapt screen, optimized drawing and full screen — runtime checkboxes that govern how the runtime fills the display and how it draws; none of them touches the ratio between an object and its bitmap.
  • Monitor swaps and a second graphics card — the mismatch lives in the project, so identical hardware keeps producing identical artifacts.
  • Equal screen resolutions on both stations — necessary, but the failing scaling is per object, one level below the screen.

Screen-level adaptation is the same story one size up: the adapt picture function resizes whole screens after a resolution change and is the right tool for that job — adapt picture in WinCC 7.4 so migrated screens fit the new resolution covers it — but it cannot sharpen a single object whose size is wrong.

The decision for each case #

  • Sharp in the simulator, degraded after download: the confirmed case. Match every failing object to its bitmap's pixel dimensions or tick Fit object size to graphic; this alone cleared the reported project.
  • Degraded on both stations: run the same check anyway, because the simulator resamples too. If the object already matches the file, switch off the picture window's customize screen zoom next, then confirm the transparency-bearing files are PNG.
  • Icon wanted at a larger size on screen: do not stretch the object. Re-author the file in the graphics editor at the larger pixel dimensions and keep the object matched to the new file.
  • Still rough with every ratio at 1:1: check Runtime settings, General > Screen > Screen resolution against the display, and re-export the graphic from the original artwork rather than editing a copy that was itself resized.

Questions asked

How do I check a graphic's pixel dimensions before importing it into the project?

In Windows File Explorer, right-click the graphic file, choose Properties and open the Details tab; Windows lists the dimensions there in pixels. Those numbers are what the object's Position & size fields must match after you place the object. Reading them first keeps oversized artwork out of the project, so nothing gets resampled the moment it lands on a screen.

Does the fix differ between WinCC Advanced RT and WinCC Professional RT?

No. Both runtimes resample a bitmap whose object size differs from the file, so native-resolution graphics and Fit object size to graphic apply equally to both. A Professional station adds one more place where scaling hides: a graphic inside a picture window whose customize screen zoom is enabled picks up a second scaling stage, so there you check the window as well as the object.

Should the icons be PNG, or is JPEG acceptable?

Keep anything that needs a transparent background as PNG, because JPEG has no alpha channel and the runtime draws the file's full rectangle, background and all. Where the files were already PNG and the icons still looked rough, the format was never the cause: the object-to-bitmap scaling was. Correct the size first, then judge the format on transparency needs alone.

What if one project has to run on panels with different screen resolutions?

Author the screens for the resolution each target actually runs and keep every graphic one-to-one with its object there. If two panel sizes share screens, the station that was not the design target resamples whatever was authored for the other size, so re-author the shared graphics at that target's own pixel dimensions. A picture made for one resolution never sharpens itself when shown at another.

Keep reading

  • How-to

    Display an animated GIF in WinCC Flexible PC runtime

    WinCC Flexible PC runtime does not play an animated GIF in a standard graphic object. Drive state animation with a graphic I/O field and a graphics list, or point the HTML Browser object at a local HTML page that hosts the GIF, and keep every button and text object outside the browser rectangle because that surface cannot be overlaid.

    HMI and touchscreens

  • Explainer

    Why resistive HMI touchscreens work with gloves

    A resistive touchscreen registers pressure: pressed layers make contact and the controller reads the position, so the glove needs no conductive path. Any glove works, provided its fingertip is thin and precise enough to hit the configured controls; capacitive screens need conductive gloves. Decide on contact precision, not conductivity.

    HMI and touchscreens

  • Explainer

    Why WinCC Runtime V13 cannot run two instances on one PC

    WinCC Runtime Professional V13 SP1 runs as a single instance on a PC, so you cannot start one Runtime per monitor. Two independently operated screens need the WebNavigator option: the server component runs with Runtime, each monitor gets its own client session in a browser or the WinCCViewerRT.exe viewer, and each session occupies one WebNavigator license at the server. If both seats share control, one Runtime with windows on both monitors does the job with no extra option.

    HMI and touchscreens

Why WinCC Runtime Professional Asia uses the standard upgrade path