v0.5.0 #121
EmilDohne
announced in
Announcements
v0.5.0
#121
Replies: 2 comments 3 replies
-
If anyone comes across this. Feel free to suggest new features you think are missing from the PhotoshopAPI or give feedback on the overall API. I'd be happy to hear your opinions! |
Beta Was this translation helpful? Give feedback.
2 replies
-
Wow! do you know when you think 6.0 would be ready? or if it could be used as a beta before the full release? |
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
-
v0.5.0
The
v0.5.0
Release primarily targets adding support for CMYK and Grayscale while also improving the overal consistency of the python bindings. Additionally we added support for trivially replacing image data.Three new examples were added. Please feel free to check them out!
Roadmap
v0.6.0
Performance
ImageLayer<T>
now runs fully parallelizedFeatures:
C++ / General
ProgressCallback
that can be passed to read and write functions forLayeredFile<T>
PhotoshopFile::findBitdepth()
function which reads out the header and allows for programmatic dispatching ofLayeredFile<T>
instancesLayeredFile<T>::flatLayers()
function for getting a flattened layer hierarchy which can be iterated without recursion.ImageLayer<T>::setImageData()
,Layer<T>::setMask()
Python
flat_layers
property giving you a temporary view over all the layers allowing for easy flat traversal. This is especially useful when applying some operation to all layers like resizing.is_visible
propertyis_locked
propertyhas_mask()
functionset_image_data
,set_channel_by_id
andset_channel_by_index
functions as well as making theimage_data
property read-writablenum_channels
andchannels
propertiesBugfixes:
C++ / General
findLayerAs()
function no longer raises an error if layer cannot be found but instead returnsnullptr
to be more consistent withLayeredFile<T>::findLayer()
blosc2_schunk_free()
ImageLayer<T>
as image data now get automatically forwarded tom_LayerMask
Python
numpy.reshape()
). This conversion is now forced in-placeself
argument in psapi-stubsDeprecations
Layer<T>::getMaskData()
in favour ofLayer<T>::getMask()
Breaking changes:
The main breaking changes are to what is considered the internal API. A lot of the files in
Util/
were moved over toCore/
where appropriate.ImageLayer<T>
constructor now takes anint16_t
rather thanuint16_t
Python
Layer.layer_mask
property has been removed in favour ofLayer.mask
. This property is now read-writableCI / Compiling
This discussion was created from the release v0.5.0.
Beta Was this translation helpful? Give feedback.
All reactions