pub struct WriteOptions {
pub generate_thumbnail: Option<bool>,
pub trim_image_data: Option<bool>,
pub invalidate_text_layers: Option<bool>,
pub log_missing_features: Option<bool>,
pub no_background: Option<bool>,
pub psb: Option<bool>,
pub compress: Option<bool>,
}Expand description
TS WriteOptions.
Fields§
§generate_thumbnail: Option<bool>Automatically generates thumbnail from composite image.
trim_image_data: Option<bool>Trims transparent pixels from layer image data.
invalidate_text_layers: Option<bool>Invalidates text layer data, forcing Photoshop to redraw on load.
log_missing_features: Option<bool>Logs if features are missing.
no_background: Option<bool>Forces bottom layer to be treated as layer and not background.
psb: Option<bool>Saves document as PSB (Large Document Format) file.
compress: Option<bool>Uses zip compression when writing PSD file.
Trait Implementations§
Source§impl Clone for WriteOptions
impl Clone for WriteOptions
Source§fn clone(&self) -> WriteOptions
fn clone(&self) -> WriteOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WriteOptions
impl Debug for WriteOptions
Source§impl Default for WriteOptions
impl Default for WriteOptions
Source§fn default() -> WriteOptions
fn default() -> WriteOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WriteOptions
impl RefUnwindSafe for WriteOptions
impl Send for WriteOptions
impl Sync for WriteOptions
impl Unpin for WriteOptions
impl UnsafeUnpin for WriteOptions
impl UnwindSafe for WriteOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more