EasyManua.ls Logo

Topcon OPUS A6G2 - Page 93

Topcon OPUS A6G2
800 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
93
OPUS Projektor Manual
User Interface
For the Image Handling there is a separat file "image_list.xml" which stores all
informations about the images in a project. The file is saved in the project folder.
During working on the project the Tool creates an temporary file called "image_list.tmp"
which saves all image changes in the project. When project is saved the "image_list.tmp"
file is saved to "image_list.xml" and the temporary file will be deleted.
All original and scaled image infomrations are stored in these file. Each image name is
stored with the according MD5 checksum. The MD5 checksum is used to recognize if there
are duplicate images. Additionally the "image_list.xml" file stores the assignment between
image property and Object.
Purpose
The Image Handling shall help to avoid duplicate images in the project. The device has
restricted resources and they should not be wasted with duplicate images.
This helps to keep the performance on the device (by loading the project) and save
restricted disk space.
Image Naming
This chapter shall describe how the naming of images works in the Tool.
Original Image Naming
If an image is added to an Object, the image is added to "orginal_images" folder. The
name of the original image is normally not modfied except of 2 cases.
Case 1: The folder "original_images" contains already a file with same name, but
different content.
The new image is added to "original_images" with an extension.
Example:
Original_images folder contains an image with name "test.png".
A new image is added with same name but different content. The new image will be
renamed to "test_1.png".
Case 2: The folder "original_images" contains an image with same content, but different
name.
The new image is NOT copied to "original_files" folder, because there is already an
image with same content. For the scaled image the name of the already existing image
will be used.
Example:
Original_images folder contains an image with name "test.png".
A new image with name "myImage.png" is added with same content. The image
"myImage.png" is NOT added to "original_images" folder.
Scaled Image Naming
The scaled image contains the name of the original image with the extension of "Width"
and "Height" and optional "Color of Transparency".
Example:
Original Image Name: test.png
Scaled Image Name: test_100_80.png (without transparency color)
Scaled Image Name: test_100_80_0xffffffff.png (with transparency color "white")

Table of Contents