🍦 SwiftServe Get

Menu / image.downsampling

Can Swift packages do downsampling / resizing?

also known as: image resizing · thumbnails · image processing

PackageiOSmacOSwatchOStvOSvisionOSLinuxCatalyst
Kingfisher as of 8.10.0
Details

serves it · confidence 0.85 · as of 8.10.0

  • DownsamplingImageProcessor
    Sources/Image/ImageProcessor.swift:786
    View the line on GitHub →
    ImageIO-based downsampling before decode
  • manifest declares iOS 13

serves it · confidence 0.85 · as of 8.10.0

  • DownsamplingImageProcessor
    Sources/Image/ImageProcessor.swift:786
    View the line on GitHub →
    ImageIO-based downsampling before decode
  • manifest declares macOS 10.15

serves it · confidence 0.80 · as of 8.10.0

  • DownsamplingImageProcessor
    Sources/Image/ImageProcessor.swift:786
    View the line on GitHub →
    ImageIO-based downsampling before decode
  • manifest declares watchOS 6

serves it · confidence 0.80 · as of 8.10.0

  • DownsamplingImageProcessor
    Sources/Image/ImageProcessor.swift:786
    View the line on GitHub →
    ImageIO-based downsampling before decode
  • manifest declares tvOS 13

serves it · confidence 0.85 · as of 8.10.0

  • DownsamplingImageProcessor
    Sources/Image/ImageProcessor.swift:786
    View the line on GitHub →
    ImageIO-based downsampling before decode
  • compiles for visionOS — Xcode 26.6 (17F113), XROS26.5.sdk, scheme Kingfisher
?

not verified yet · confidence 0.10 · as of 8.10.0

  • Apple imaging stacks only

serves it · confidence 0.75 · as of 8.10.0

sdwebimage as of 5.21.7
Details

serves it · confidence 0.85 · as of 5.21.7

  • SDImageCoderHelper.decodedAndScaledDownImageWithImage:limitBytes:
    SDWebImage/Core/SDImageCoderHelper.h:208
    View the line on GitHub →
    Decode + scale-down to a byte budget; unconditional.
  • SDImageCoderHelper.decodedAndScaledDownImageWithImage:limitBytes:policy:
    SDWebImage/Core/SDImageCoderHelper.h:219
    View the line on GitHub →
    Scale-down with force-decode policy; unconditional.
  • SDImageCoderHelper.scaledSizeWithImageSize:scaleSize:preserveAspectRatio:shouldScaleUp:
    SDWebImage/Core/SDImageCoderHelper.h:175
    View the line on GitHub →
    Thumbnail size calculation; unconditional.

serves it · confidence 0.85 · as of 5.21.7

  • SDImageCoderHelper.decodedAndScaledDownImageWithImage:limitBytes:
    SDWebImage/Core/SDImageCoderHelper.h:208
    View the line on GitHub →
    Decode + scale-down to a byte budget; unconditional.
  • SDImageCoderHelper.decodedAndScaledDownImageWithImage:limitBytes:policy:
    SDWebImage/Core/SDImageCoderHelper.h:219
    View the line on GitHub →
    Scale-down with force-decode policy; unconditional.
  • SDImageCoderHelper.scaledSizeWithImageSize:scaleSize:preserveAspectRatio:shouldScaleUp:
    SDWebImage/Core/SDImageCoderHelper.h:175
    View the line on GitHub →
    Thumbnail size calculation; unconditional.

serves it · confidence 0.85 · as of 5.21.7

  • SDImageCoderHelper.decodedAndScaledDownImageWithImage:limitBytes:
    SDWebImage/Core/SDImageCoderHelper.h:208
    View the line on GitHub →
    Decode + scale-down to a byte budget; unconditional.
  • SDImageCoderHelper.decodedAndScaledDownImageWithImage:limitBytes:policy:
    SDWebImage/Core/SDImageCoderHelper.h:219
    View the line on GitHub →
    Scale-down with force-decode policy; unconditional.
  • SDImageCoderHelper.scaledSizeWithImageSize:scaleSize:preserveAspectRatio:shouldScaleUp:
    SDWebImage/Core/SDImageCoderHelper.h:175
    View the line on GitHub →
    Thumbnail size calculation; unconditional.

serves it · confidence 0.85 · as of 5.21.7

  • SDImageCoderHelper.decodedAndScaledDownImageWithImage:limitBytes:
    SDWebImage/Core/SDImageCoderHelper.h:208
    View the line on GitHub →
    Decode + scale-down to a byte budget; unconditional.
  • SDImageCoderHelper.decodedAndScaledDownImageWithImage:limitBytes:policy:
    SDWebImage/Core/SDImageCoderHelper.h:219
    View the line on GitHub →
    Scale-down with force-decode policy; unconditional.
  • SDImageCoderHelper.scaledSizeWithImageSize:scaleSize:preserveAspectRatio:shouldScaleUp:
    SDWebImage/Core/SDImageCoderHelper.h:175
    View the line on GitHub →
    Thumbnail size calculation; unconditional.

serves it · confidence 0.85 · as of 5.21.7

  • SDImageCoderHelper.decodedAndScaledDownImageWithImage:limitBytes:
    SDWebImage/Core/SDImageCoderHelper.h:208
    View the line on GitHub →
    Decode + scale-down to a byte budget; unconditional.
  • SDImageCoderHelper.decodedAndScaledDownImageWithImage:limitBytes:policy:
    SDWebImage/Core/SDImageCoderHelper.h:219
    View the line on GitHub →
    Scale-down with force-decode policy; unconditional.
  • SDImageCoderHelper.scaledSizeWithImageSize:scaleSize:preserveAspectRatio:shouldScaleUp:
    SDWebImage/Core/SDImageCoderHelper.h:175
    View the line on GitHub →
    Thumbnail size calculation; unconditional.
?

not verified yet · confidence 0.25 · as of 5.21.7

  • Package.swift:8
    View the line on GitHub →
    SPM manifest declares Apple platforms only (iOS 9, macOS 10.11, tvOS 9, watchOS 2); not evidence of absence. Objective-C library over Foundation/UIKit/AppKit; no linux absence guard in the parsed surface.

serves it · confidence 0.80 · as of 5.21.7

  • SDImageCoderHelper.decodedAndScaledDownImageWithImage:limitBytes:
    SDWebImage/Core/SDImageCoderHelper.h:208
    View the line on GitHub →
    Decode + scale-down to a byte budget; unconditional.
  • SDImageCoderHelper.decodedAndScaledDownImageWithImage:limitBytes:policy:
    SDWebImage/Core/SDImageCoderHelper.h:219
    View the line on GitHub →
    Scale-down with force-decode policy; unconditional.
  • SDImageCoderHelper.scaledSizeWithImageSize:scaleSize:preserveAspectRatio:shouldScaleUp:
    SDWebImage/Core/SDImageCoderHelper.h:175
    View the line on GitHub →
    Thumbnail size calculation; unconditional.

✓ serves it · ◐ with conditions · ✕ not served (proven) · ? not verified yet — hover any verdict for the receipt, click to pin it