         }
     }
     
-    func sizeForTargetOrientation(_ targetOrientation:ImageOrientation) -> GLSize {
+    public func sizeForTargetOrientation(_ targetOrientation:ImageOrientation) -> GLSize {
         if self.orientation.rotationNeededForOrientation(targetOrientation).flipsDimensions() {
             return GLSize(width:size.height, height:size.width)
         } else {


    weak var cache:FramebufferCache?
    var framebufferRetainCount = 0
    func lock() {
        framebufferRetainCount += 1
    }


    public var timingStyle:FramebufferTimingStyle = .stillImage
    public var orientation:ImageOrientation

    public let texture:GLuint
    let framebuffer:GLuint?
    let stencilBuffer:GLuint?
    let size:GLSize
