         }
         return try encode(RGB, importer: importer, config: config, originWidth: originWidth, originHeight: originHeight, stride: stride)
     }
-    
+
     public func encode(RGBA: UnsafeMutablePointer<UInt8>, config: WebPEncoderConfig,
                        originWidth: Int, originHeight: Int, stride: Int,
                        resizeWidth: Int = 0, resizeHeight: Int = 0) throws -> Data {

        }
        return try encode(BGRX, importer: importer, config: config, originWidth: originWidth, originHeight: originHeight, stride: stride)
    }
    
    private func encode(_ dataPtr: UnsafeMutablePointer<UInt8>, importer: WebPPictureImporter,
                        config: WebPEncoderConfig, originWidth: Int, originHeight: Int, stride: Int,
                        resizeWidth: Int = 0, resizeHeight: Int = 0) throws -> Data {

        }
        picture.writer = writeWebP
        picture.custom_ptr = UnsafeMutableRawPointer(&buffer)

        if WebPEncode(&config, &picture) == 0 {
            WebPPictureFree(&picture)

