v0.6.0 - Smart Objects #136
EmilDohne
announced in
Announcements
Replies: 1 comment 1 reply
-
Hello, first of all, thank you for your work and your very useful library! I wanted to point out that the recent changes have resulted in a shift of the origin point for the layers. To ensure everything works correctly, a small adjustment is now needed in our code during the layer generation process: img_layer.center_x = width / 2
img_layer.center_y = height / 2 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
v0.6.0
Release primarily targets adding support for SmartObject layers and warps. Additionally, we refactored large parts of the internal and public API.To check out how to use SmartObjects please have a look here for an example, here for the documentation (c++) and here for the documentation (python)
Warning
This is a breaking release, please proceed with caution and read both the changelogs and documentation carefully as large parts of the API were overhauled.
Features:
SmartObjectLayer<T>
,psapi.SmartObjectLayer_*bit
Python
mask_disabled
,mask_relative_to_layer
,mask_default_color
,mask_density
,mask_feather
,mask_position
,mask_width
andmask_height
Bugfixes:
C++
uint8_t
,uint16_t
,float
for all Photoshop related templatesPython
is_visible
andis_locked
arguments to constructor of layersBreaking Changes:
uint8_t
C++
camelCase
tosnake_case
to be more in line and equal to python bindingsPython
ImageLayer_*bit.channels
property is nowImageLayer_*bit.channel_indices()
Miscellaneous:
Dependencies:
OpenImageIO
as dependency (via vcpkg)fmt
as dependency (via vcpkg)stduiid
as dependency (via vcpkg)eigen3
as dependency (via vcpkg)json
as a submodulelibdeflate
from submodule to vcpkgvcpkg
submoduleDocumentation
CI:
This discussion was created from the release v0.6.0 - Smart Objects.
Beta Was this translation helpful? Give feedback.
All reactions