Skip to content

Transparency channel lost after resizing image and saving it  #40

@shial4

Description

@shial4

I have an issue where I resize the original image and export it. It looses transparency channel

let originalImage = try Image(data: imageData)
originalImage.resizedTo(width: newSize.width)
image.transparent = originalImage.transparent
let thumbnailData = try image.export()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions