Repository navigation
The first stable release: the API now follows semantic versioning.
Breaking
RAWDevelop.Options.appliesFileOrientation: Boolis replaced byorientation: OrientationEdit?(nil is the file's tag,.upthe stored pixels).ImageAdjustmentDescription.Availability.videoleaves out the RAW section (withoutDevelop).
Added
RAWDevelopdevelops a RAW throughCIRAWFilterwith Exposure, Temperature, Tint and Noise Reduction inside the develop, where clipped highlights can still be recovered, and returns the rest of the adjustment for the renderer. ASessionreuses its decode and reportsnativeSizeandsupportedDevelopParameters;whiteBalance(atUnitPoint:options:)returns the Temperature and Tint that develop a point gray;takesAny(of:)andrenderColorSpace(for:)are public.ImageAdjustmentDescriptiongains a RAW section: color noise reduction, moire reduction and lens correction. It isDefaultFilledDecodable, so older stored values decode.ImageFormatConverterdevelops an adjusted RAW, falling back to the default decoder version when the pinned one is gone.ImageConversionSource.rawDecoderVersionandoverlayXMP, an XMP packet laid over the copied metadata on every route.StillImageThumbnail.developed(url:maxPixelSize:recipe:)andStillThumbnailRecipe;StillImageThumbnail.admitted, which admits RAW decodes through aBlockingCallLimiterslot (optionally a caller's own), since enough unadmitted RAW decodes deadlock the cooperative pool.- A
fileOrientation:override on thumbnail, develop and conversion entry points, for a RAW whose sidecar holds its orientation. CropEdit.apply(to:)renders a crop's perspective correction throughCIPerspectiveTransform, and face regions follow it through Save and Convert.CaptureModesreads RAW, HDR (gain map), Portrait (any depth or disparity, as Photos badges it), Live Photo and Spatial from metadata without decoding any map.DominantColor: a picture's color chosen as its highlight from a k-means palette in Oklab (tuned against 66 hand picks), over one picture or several pooled, withisBlank,nearest(to:in:within:),oklabDistance, andParameters.videofitted to 74 picks over video openings.analysisImage(contentsOf:)is the shared analysis decode.TransparencyFlattenandOpaquePixelSummaryput a transparent picture on a background chosen from its ink.IllustratorImage.hasIllustratorExtension,StillImageThumbnail.hasResolutionIndependentExtensionandfailureDescription(url:).
Fixed
- An SVG whose references loop or multiply without bound reads as a file that does not open, instead of crashing inside CoreSVG or tying up a thread for minutes.
- A decode allowing an embedded thumbnail asks for one only when the container lists it, so ImageIO no longer logs three errors per HEIC without one.
- A lossless orientation rewrite copies every image a file holds (stereo pair, gain maps, depth) instead of refusing any file with more than one; a file whose images ImageIO does not all turn is still refused.
- Re-encoding a spatial photo is refused with an error saying why; render and orientation-rewrite errors carry a readable description.
Other
- README covers capture types and transparency flattening. Thread and memory suites are tagged
exclusive, and RAW tests run admitted.