alexiscreuzot / SwiftyGif

High performance GIF engine
MIT License
1.99k stars 210 forks source link

Shadow-like artefact with outlines of first frame remains when showing subsequent frames. #194

Closed stormychel closed 7 months ago

stormychel commented 8 months ago

Hello,

stumbled upon this issue and not sure how to proceed, tried changing settings from:

Loaded GIF this way:

do {
    let gif = try NSImage(gifName: imageName)
    let imageView = NSImageView(gifImage: gif, loopCount: -1)

    imageView.frame = CGRect(x: position.x, y: position.y, width: AppConstants.overlayIconSize, height: AppConstants.overlayIconSize)
    imageView.tag = tag

    view.addSubview(imageView)
} catch {
    print(error)
}

Is there some setting or configuration option that I am missing here? Please see attachment to get an idea of how this looks:

Screenshot 2023-12-23 at 15 56 08

If more info is needed I would be happy to provide it.

stormychel commented 7 months ago

Issue was the gif file itself, closing issue.