ArchiveCore/Sources/ArchiveBackend/Extensions/CIImage.swift
Line should be 120 characters or less: currently 128 characters Open
Open
let jpegData = bitmapRep.representation(using: .jpeg, properties: [.compressionFactor: NSNumber(value: Float(quality))])
- Exclude checks
Line should be 120 characters or less: currently 146 characters Open
Open
/// The `CIImage(image: )` initializer does uses the current orientation of the `UIImage`, we fix this be applying a new orientation property.
- Exclude checks
Line should be 120 characters or less: currently 123 characters Open
Open
.properties: [kCGImagePropertyOrientation: CGImagePropertyOrientation(image.imageOrientation).rawValue]
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
case .leftMirrored: self = .leftMirrored
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
case .upMirrored: self = .upMirrored
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
@unknown default:
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
case .downMirrored: self = .downMirrored
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
case .right: self = .right
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
case .down: self = .down
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
case .left: self = .left
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
case .up: self = .up
- Exclude checks
Case statements should vertically align with their enclosing switch statement. Open
Open
case .rightMirrored: self = .rightMirrored
- Exclude checks