It's easier to answer your question if you share your code, then we know what you are asking about.
Also, what platform, iOS or Mac, or other?
Also also, what language, Objective-C or Swift, or other?
Perhaps you are using Swift on iOS, and you mean UIGraphicsImageRenderer?
If so, did you remember to import CoreGraphics?
Topic:
Media Technologies
SubTopic:
Photos & Camera
Tags: