---
title: "imageWithCGImageSource:index:options:"
framework: coreimage
role: symbol
role_heading: Type Method
path: "coreimage/ciimage/imagewithcgimagesource:index:options:"
---

# imageWithCGImageSource:index:options:

## Declaration

```occ
+ (CIImage *) imageWithCGImageSource:(CGImageSourceRef) source index:(size_t) index options:(NSDictionary<NSString *,id> *) dict;
```

## See Also

### Creating an Image

- [empty()](coreimage/ciimage/empty().md)
- [init(image:)](coreimage/ciimage/init(image:).md)
- [init(image:options:)](coreimage/ciimage/init(image:options:).md)
- [init(contentsOf:)](coreimage/ciimage/init(contentsof:).md)
- [imageWithContentsOfURL:](coreimage/ciimage/imagewithcontentsofurl:.md)
- [init(contentsOf:options:)](coreimage/ciimage/init(contentsof:options:).md)
- [imageWithContentsOfURL:options:](coreimage/ciimage/imagewithcontentsofurl:options:.md)
- [imageWithCGImage:](coreimage/ciimage/imagewithcgimage:.md)
- [init(cgImage:)](coreimage/ciimage/init(cgimage:)-2kvvb.md)
- [imageWithCGImage:options:](coreimage/ciimage/imagewithcgimage:options:.md)
- [init(cgImage:options:)](coreimage/ciimage/init(cgimage:options:)-8663h.md)
- [init(cgImageSource:index:options:)](coreimage/ciimage/init(cgimagesource:index:options:)-e2bz.md)
- [imageWithData:](coreimage/ciimage/imagewithdata:.md)
- [init(data:)](coreimage/ciimage/init(data:).md)
- [imageWithData:options:](coreimage/ciimage/imagewithdata:options:.md)
