Searched refs:compressionQuality (Results 1 – 1 of 1) sorted by relevance
399 int compressionQuality = JPEGImageEncoder::DefaultCompressionQuality; in encodeImage() local401 compressionQuality = static_cast<int>(*quality * 100 + 0.5); in encodeImage()402 if (!JPEGImageEncoder::encode(source, compressionQuality, encodedImage)) in encodeImage()405 int compressionQuality = WEBPImageEncoder::DefaultCompressionQuality; in encodeImage() local407 compressionQuality = static_cast<int>(*quality * 100 + 0.5); in encodeImage()408 if (!WEBPImageEncoder::encode(source, compressionQuality, encodedImage)) in encodeImage()