IMDTouchKnowledge BaseShop main store

Explainer

Why TIA Portal HMI screens do not export to jpg directly

HMI and touchscreens Published 8 min read

Short answer

No command in TIA Portal writes composed HMI screens to jpg. Document the screens with repeatable fixed-region captures at one common zoom level; use the Export Graphics Tool only when you need the individual graphics in their original file types, and expect project printing to deliver object tables rather than pictures.

On this page
  1. Does TIA Portal export configured HMI screens to jpg directly?
  2. What does the Export Graphics Tool give you instead?
  3. What do project printing and the Openness API actually produce?
  4. What zoom and window setup make every capture identical?
  5. How do you size a capture rectangle that holds only the screen?
  6. Why does a captured screen come out undersized?
  7. How do you capture every screen in the project without missing one?
  8. Questions asked

TIA Portal has no command that writes the configured screens of a WinCC project out as jpg files, so the picture set for client documentation has to come from a controlled capture run in the screen editor: one common zoom, one fixed pixel rectangle, one file per screen in project order. The Export Graphics Tool that fills every search result does something different — it moves the individual graphics of a project to a local directory in their original file types, and it cannot rebuild a composed screen from them. Project printing produces configuration detail, mostly as object property tables. This article separates the three deliverables, gives the zoom and rectangle arithmetic that keeps captures identical, explains why a captured screen comes out undersized, and ends with the decision for each case.

Does TIA Portal export configured HMI screens to jpg directly? #

No — TIA Portal has no command that writes the composed screens of a WinCC project to jpg files, so a screen-by-screen picture set comes from repeatable screen capture in the editor or the runtime, while the Export Graphics Tool delivers only individual graphics in their original file types.

Two things hide behind the phrase, and separating them decides the whole job. A screen image is the complete configured screen as the editor or the running visualization shows it: positioned objects, text fields, controls and background inside the screen boundary. A source graphic is one image asset that one of those objects displays. Anything that hands you jpg files would have to render the first thing, and nothing built into the portal does it.

Siemens does document a screenshot procedure for configured WinCC screens, and one preparation step matters for picture quality: open the Settings from the portal's Tools menu and, under General > Print settings, disable Show tab order so the tab-order overlay stays out of every image. The file format of the result is whatever the capture tool writes, not something the portal chooses.

What does the Export Graphics Tool give you instead? #

The Export Graphics Tool exports graphics from a WinCC (TIA Portal) configuration to a local directory in their original file type, with properties such as transparency preserved, and that file set is the project's graphics library content, not any composed screen.

That is exactly the deliverable you want when the client needs a reusable asset set or an inventory of the images the project uses, and exactly the wrong tool for a screen catalog: a pump symbol exported at its own resolution is not the process screen that contained it, and no setting turns an asset export into a composition. Verify the difference once before you commit either way — export one graphic, set the editor beside it, and expect the file to hold the single asset while only a capture holds the full screen.

What do project printing and the Openness API actually produce? #

Project printing produces object property tables rather than pictures, and the Openness API exports screen and graphics data as XML entries for engineering automation, so neither route yields the jpg files a client document needs.

Print and report output describes the configuration, so a dense screen becomes pages of property tables — every object's type, position and connections — instead of one image of how the screen reads. Engineers building commissioning or revision records can want exactly that detail; anyone building an operating manual gets pages of tables and a job that runs far longer than a capture pass, with no print setting that collapses the tables into a clean picture.

The Openness API serves tooling, not documentation. Its export writes a single graphic or all graphics of the project's graphics collection, in all languages, into an XML file of entries, and screens are exported programmatically the same way — Siemens notes that exporting the aggregated screens of all user-defined screen folders of an HMI device takes different program code than a single-folder export. Useful for automated engineering workflows; still not a picture file.

What zoom and window setup make every capture identical? #

Set every screen to one common zoom level — 100% whenever the whole screen fits — keep the portal window at one fixed size on one display, and leave the panel arrangement unchanged for the entire run.

A coordinate-based capture records whatever falls inside a pixel rectangle, so zoom, window size and display scaling decide which pixels belong to the screen. If a very dense screen does not fit at the common zoom, pick one lower level and use it for every screen in the run — never fit each screen individually, because mixed scaling produces images that cannot be compared or placed at consistent sizes in the document. Keep the window maximized or at one fixed size for the whole run, leave the project tree, inspector and toolbars where they started, and never drag the window onto a second monitor with different scaling partway through.

The check that the setup holds: switch between two configured screens without touching the window, and confirm the screen boundary occupies the same pixel width and height in both views.

How do you size a capture rectangle that holds only the screen? #

Size the rectangle once, from the desktop pixels left over after the portal's fixed panels, and reuse those coordinates for every screen; on a 1920 × 1080 display at 100% scaling with example panel widths, the rectangle comes out 1320 × 990 pixels.

Worked example, on an example desktop of 1920 × 1080 pixels at 100% display scaling with the portal maximized: suppose the project tree takes 250 pixels of width, the inspector window 350 pixels of width, the toolbar band 60 pixels of height and the status bar 30 pixels of height. Those four are layout facts of your installation — measure them once, because they are not portal constants. The rectangle then starts at x = 250, y = 60, with width = 1920 − 250 − 350 = 1320 pixels and height = 1080 − 60 − 30 = 990 pixels.

Prove it before the run: open a screen with objects near all four edges, capture once, and inspect the file at native size. Every intended edge object present, no editor panel and no desktop pixels inside — then lock the coordinates and leave them alone. Active-window capture is the simpler alternative but carries the editor chrome into every page; full-screen capture with a manual crop per screen is the worst option in a multi-screen project, because every crop is a fresh chance to align differently.

Why does a captured screen come out undersized? #

The screen is undersized when it was rendered at a different zoom or display scale than the one the capture rectangle was sized for, and the pixel arithmetic shows exactly how much content went missing.

Zoom first: the example rectangle is 1320 pixels wide, and at 75% zoom the same canvas spans 0.75 × 1320 = 990 pixels — 330 pixels narrower and 25% smaller in each linear dimension — so the fixed rectangle fills the difference with editor background and the screen sits small inside its frame.

Display scaling does the same damage from another side: at 150% scaling the same monitor's desktop is logically 1920 ÷ 1.5 = 1280 pixels wide and 1080 ÷ 1.5 = 720 pixels tall, so coordinates recorded next to a 100% display no longer land on the same layout, and the rectangle starts in the wrong place. The fix is discipline rather than new software: one zoom for every screen, one window size, one display for the whole run, and a re-measure of the rectangle whenever any of the three changes.

How do you capture every screen in the project without missing one? #

Build the screen list from the project's own screen names before the first capture, walk it in order with one hot key, and reconcile the file count against the list before the document ships.

The screens that get lost are the hidden ones: alarm text screens, setup and maintenance screens, anything not reachable from the main navigation. List every configured screen in document order and use the project's own screen names as the naming authority — sequential numbers alone preserve order but identify nothing once the files move. Name each output from the list, for example 001_Main, 002_Overview, 003_Alarm; that is an example scheme, not a portal identifier. Drive the run with one hot key, walk the list top to bottom, and reconcile the file count and names against it immediately: if a screen gets recaptured, replace the old image or revision-mark it, and never leave two plausible files side by side.

Then run the end-to-end checks. First, middle and last file must match their screen content; the files must sit in the document template at identical dimensions with screen boundaries and repeated objects aligning; edge objects must be complete; the finished document must show one image per listed screen, one to one.

One boundary to respect: the captures document what the screens looked like, but they are not an editable source archive. If the project file itself is ever lost, the pictures will not rebuild it — that failure has its own documented recovery path in how to recover an HMI program when the source file is lost.

The decision, case by case:

Deliverable Route Expected file content
A picture of each composed screen Fixed-region capture at one common zoom Objects, labels, controls and background in their configured positions
Reusable image assets Export Graphics Tool Each graphic in its original type, transparency kept
Object-level configuration records Project printing or reporting Property tables, not images
Engineering data for other tools TIA Portal Openness API XML entries of graphics or screens, no rendered images

Pick the row that matches what the client actually asked for — and only the first row produces the image files a documentation set needs.

Questions asked

Should the screen captures be saved as PNG or JPG?

PNG is the safer master format for HMI screens because it is lossless: flat color fills, thin lines and small text stay exactly as captured. JPG compression is lossy and leaves ringing artifacts around text and sharp edges. If the client's template requires JPG, keep the PNG original and export the JPG copy at the highest quality setting the capture tool offers.

How large does a captured screen print in the final document?

At native size the example rectangle holds 1320 × 990 pixels. Placed on the page at 300 dpi, 1320 ÷ 300 = 4.4 inches wide, which fits a portrait page with margins at a comfortable reading size. Do not scale a capture above its native pixels; enlargement blurs the text, and no zoom setting recovers detail the file never had.

What about screens that scroll or open popups?

Capture the base state of every screen first, with no popup open, so the whole set stays comparable in size and layout. Then treat each popup and each scrolled position as its own deliverable: bring it up, capture it with the same rectangle, and give it its own entry in the screen list, named from its parent screen.

Can the screenshots come from the running visualization instead of the editor?

The documented screenshot procedure for configured WinCC screens lives in Siemens' support entry, and the trigger and the storage location depend on the panel family and the WinCC version, so follow that entry for your exact version instead of assuming a generic hot key. Hold the runtime display to the same single-zoom discipline as the editor, or the images will not match one another.

Keep reading

  • Troubleshooting

    Why WinCC Professional Images Turn White in Runtime

    Images that keep their color in the editor but turn white in WinCC Runtime and Simulation, and images that break after the project moves to another path, are both symptoms of a stale or external image-resource association inside the project. Reimport each failing image through the project's own graphics management, then verify it in the editor, Simulation, Runtime and after relocation.

    HMI and touchscreens

  • Troubleshooting

    Animating WinCC symbol library objects in TIA Portal

    Symbol library objects in WinCC Comfort and Advanced are dynamic; a solid fill style hides the color your Appearance animation writes. Set Fill style to Shaded, animate the foreground color, and verify in the simulator before duplicating. For bitmaps in a graphic view there is no color to animate — drive a graphic list with the state tag, or redraw the symbol from native objects.

    HMI and touchscreens

  • How-to

    Combining two migrated WinCC HMI projects in TIA Portal

    You cannot merge two migrated WinCC projects into one TIA Portal project automatically. Pick one project as the destination and move the complete HMI device from the other by copy and paste between two TIA Portal instances, by opening the source as a reference project and dragging it in, or through a global user library. The result is one project holding two separate HMI devices, not one merged device.

    HMI and touchscreens