         /// By default, `true`.
         public var shouldCacheImmediately = true
         
-        public init(maxPixelSize: Float,
+        public init(maxPixelSize: CGFloat,
                     createThumbnailFromImageIfAbsent: Bool = true,
                     createThumbnailFromImageAlways: Bool = true,
                     createThumbnailWithTransform: Bool = true,


import Foundation
import Combine

// MARK: - ImageRequest


        /// The maximum width and height in pixels of a thumbnail. If this key
        /// is not specified, the width and height of a thumbnail is not limited
        /// and thumbnails may be as big as the image itself.
        public var maxPixelSize: CGFloat
                
        /// Whether a thumbnail should be automatically created for an image if
        /// a thumbnail isn't present in the image source file. The thumbnail is
