Image
format
Pros Cons
RASTER l Fast rendering
l Well
standardized
l Big file size
l Fixed resolution
VECTOR
(SVG)
l Small file size
l Rescale without
quality loss
l Can handle
dynamic
properties
l Complex SVG images with many graphic items and layers
can be slow to render.
l Creating an optimized SVG is not simple.
l Only Tiny 1.2 (http://www.w3.org/TR/SVGTiny12/)
supported.
Note: Scour software is free tool that can be used to remove foreign code from file
(http://www.codedread.com/scour/).
Static optimization of templates
Template pages can have large amounts of static content. However, static optimization cannot be applied to a template
page, since where the template is used is based on the page design.
If a huge background image should be repeated in every page that uses the same template, this would increase the
footprint of the device as the same static image would be created for each of the pages using the template page.
FAQ on Static Optimization
Q: In a page where there are a few identical widgets, in the opt folder I see a PNG for each one of
them. If they are really identical, why should the software duplicate them instead of having just one
PNG?
A: The software does not know if static images are actually the same since each widget could have different
settings/properties altering the actual rendering at run time.
Q: Why are the static images stored in a separate folder called opt instead of storing them directly
in the project folder?
A: This avoids name collisions and allows skipping the upload of optimization images
Q: Why are the static images stored as a PNG files instead of common JPEG files?
A: PNG format uses a lossless compression for images and supports transparencies. JPEG files would render fuzzier
compared to the PNG files with a different result in HMWIN Studio(not using optimization) and HMI Runtime.
Q: What will happen when no optimization is done in the software?
A: Every single widget is rendered at run time. In particular SVG images may require a lot of time to render in an embedded
platform.
HMWIN Studio |User Manual| v206 (2017-06-30) | EN| © 2014-2017 Panasonic Electric Works Europe AG
429
42 Tips and tricks to improve performance