Skip to content

Images aren't viewable on macOS #3

@lucasfischer

Description

@lucasfischer

I tried this with some test images from my iPhone and iPad, but some of the images aren't really viewable. Am I holding this wrong?

Using the following code:

let image = NSImage(byReferencing: source)
let data = SDImageJPEGXLCoder.shared.encodedData(with: image, format: .JPEGXL, options: nil)

I get results like this

Image

I attached a zip file so you can see the files I used.

Thank you for your help. I really appreciate all of you SDWebImage related projects. <3

Lucas

SDWebImageJPEGXLCoder Demo.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions