CIFilterAffineTransformMBS properties

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to CIFilterAffineTransformMBS class.

CIFilterAffineTransformMBS.AttributeinputImage as CIAttributeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreImage MBS MacCI Plugin 17.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Details about the Affine Transform attribute.

This attribute should have this content:

Name:inputImage
Class:CIImageMBS
Type:CIAttributeTypeImage
DisplayName English:Image
DisplayName German:Bild
DisplayName French:Image
DisplayName Italian:Immagine
DisplayName Spanish:Imagen
DefaultNumber:0
IdentityNumber:0
(Read only property)

CIFilterAffineTransformMBS.AttributeinputTransform as CIAttributeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreImage MBS MacCI Plugin 17.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Details about the Affine Transform attribute.

This attribute should have this content:

Name:inputTransform
Class:NSAffineTransformMBS
Type:CIAttributeTypeTransform
DisplayName English:Transform
DisplayName German:Transformation
DisplayName French:Transformer
DisplayName Italian:Trasforma
DisplayName Spanish:Transformación
DefaultAffineTransform:[1, 0, 0, 1, 0, 0]
IdentityAffineTransform:[1, 0, 0, 1, 0, 0]
(Read only property)

CIFilterAffineTransformMBS.inputImage as CIImageMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreImage MBS MacCI Plugin 17.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The attribute Image

Name:inputImage
Class:CIImageMBS (CIImage)
DisplayName English:Image
DisplayName German:Bild
DisplayName French:Image
DisplayName Italian:Immagine
DisplayName Spanish:Imagen
Type:CIAttributeTypeImage

See AttributeinputImage for more details.
(Read and Write property)

CIFilterAffineTransformMBS.inputTransform as NSAffineTransformMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property CoreImage MBS MacCI Plugin 17.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The attribute Transform
Example
// Rotate image with CoreImage

// load image
dim f as FolderItem = SpecialFolder.Desktop.Child("test.png")
dim image as new CIImageMBS(f)

// rotate 45 degree
dim n as new NSAffineTransformMBS
n.rotateByDegrees(45)

dim TransformFilter as new CIFilterAffineTransformMBS
TransformFilter.inputImage = image
TransformFilter.inputTransform = n

// get result
dim resultImage as CIImageMBS = TransformFilter.outputImage

// for saving to file
dim outputImage as NSImageMBS = resultImage.RenderNSImage(false)

f = SpecialFolder.Desktop.Child("output.png")
dim b as BinaryStream = BinaryStream.Create(f, true)
b.Write outputImage.PNGRepresentation

// as Real Studio picture object for display
dim pic as Picture = outputImage.CopyPictureWithMask

Backdrop = pic

Name:inputTransform
Class:NSAffineTransformMBS (NSAffineTransform)
DisplayName English:Transform
DisplayName German:Transformation
DisplayName French:Transformer
DisplayName Italian:Trasforma
DisplayName Spanish:Transformación
Type:CIAttributeTypeTransform

See AttributeinputTransform for more details.
(Read and Write property)

The items on this page are in the following plugins: MBS MacCI Plugin.


💬 Ask a question or report a problem