High-resolution images/cursors/icons: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{LocationMain|category=LocationSDKSpecial|specific=}} Vectorworks 2015 supports high-resolution images/cursors/icons for retina displays. Vectorworks will automatically use...") |
(Add a bit more detail - pixel counts, examples.) |
||
Line 5: | Line 5: | ||
Vectorworks will automatically use high-res images from the image folder when an image resource is being loaded. | Vectorworks will automatically use high-res images from the image folder when an image resource is being loaded. | ||
In order for this to work, the high-res images must | In order for this to work, the high-res images must: | ||
*72dpi | *be 72dpi | ||
* | *have a width and height must be exactly twice the size of the low-res version used by pre-2015 versions. Recall that this is currently 26 x 20px, so the high-res version must be 52 x 40px. | ||
* | *be named the same as the normal version, but with a suffix: @2x. For example, myicon.png would require a myicon@2x.png filename. | ||
The Workspace Editor and the Plug-in Manager have been updated to allow for high-res images. When loading images from there, Vectorworks will just ask for the normal image, but it will look for the high-res image as part of the load process. If an image is found with the above criteria, it will be used. | The Workspace Editor and the Plug-in Manager have been updated to allow for high-res images. When loading images from there, Vectorworks will just ask for the normal image, but it will look for the high-res image as part of the load process. If an image is found with the above criteria, it will be used. | ||
[[Image:HiResImageSample.jpg]] | [[Image:HiResImageSample.jpg]] |
Latest revision as of 00:15, 5 November 2014
.SDK|SDK ..SDK:Types|SDK Types ..SDK:Using the SDK|Using the SDK ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference
Vectorworks 2015 supports high-resolution images/cursors/icons for retina displays.
Vectorworks will automatically use high-res images from the image folder when an image resource is being loaded.
In order for this to work, the high-res images must:
- be 72dpi
- have a width and height must be exactly twice the size of the low-res version used by pre-2015 versions. Recall that this is currently 26 x 20px, so the high-res version must be 52 x 40px.
- be named the same as the normal version, but with a suffix: @2x. For example, myicon.png would require a myicon@2x.png filename.
The Workspace Editor and the Plug-in Manager have been updated to allow for high-res images. When loading images from there, Vectorworks will just ask for the normal image, but it will look for the high-res image as part of the load process. If an image is found with the above criteria, it will be used.