Skip to content

1.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 05:02

The first stable release: the API now follows semantic versioning.

Breaking

  • RAWDevelop.Options.appliesFileOrientation: Bool is replaced by orientation: OrientationEdit? (nil is the file's tag, .up the stored pixels).
  • ImageAdjustmentDescription.Availability.video leaves out the RAW section (withoutDevelop).

Added

  • RAWDevelop develops a RAW through CIRAWFilter with 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. A Session reuses its decode and reports nativeSize and supportedDevelopParameters; whiteBalance(atUnitPoint:options:) returns the Temperature and Tint that develop a point gray; takesAny(of:) and renderColorSpace(for:) are public.
  • ImageAdjustmentDescription gains a RAW section: color noise reduction, moire reduction and lens correction. It is DefaultFilledDecodable, so older stored values decode.
  • ImageFormatConverter develops an adjusted RAW, falling back to the default decoder version when the pinned one is gone. ImageConversionSource.rawDecoderVersion and overlayXMP, an XMP packet laid over the copied metadata on every route.
  • StillImageThumbnail.developed(url:maxPixelSize:recipe:) and StillThumbnailRecipe; StillImageThumbnail.admitted, which admits RAW decodes through a BlockingCallLimiter slot (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 through CIPerspectiveTransform, and face regions follow it through Save and Convert.
  • CaptureModes reads 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, with isBlank, nearest(to:in:within:), oklabDistance, and Parameters.video fitted to 74 picks over video openings. analysisImage(contentsOf:) is the shared analysis decode.
  • TransparencyFlatten and OpaquePixelSummary put a transparent picture on a background chosen from its ink.
  • IllustratorImage.hasIllustratorExtension, StillImageThumbnail.hasResolutionIndependentExtension and failureDescription(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.