summaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/HEIC.php
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-06-02 00:37:36 +0000
committerChristopher Ng <chrng8@gmail.com>2022-06-02 00:37:36 +0000
commit57c66bf7cb772d5d6d7a17f10cd90adf48884b2d (patch)
tree1043929d764925819b9e4befe499a9ea3607ae7e /lib/private/Preview/HEIC.php
parent4e5ed32025398e006f40e819428270d209994e03 (diff)
downloadnextcloud-server-57c66bf7cb772d5d6d7a17f10cd90adf48884b2d.tar.gz
nextcloud-server-57c66bf7cb772d5d6d7a17f10cd90adf48884b2d.zip
Use Image class from public API
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'lib/private/Preview/HEIC.php')
-rw-r--r--lib/private/Preview/HEIC.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/HEIC.php b/lib/private/Preview/HEIC.php
index 7ce6b93ba3b..ec200defce8 100644
--- a/lib/private/Preview/HEIC.php
+++ b/lib/private/Preview/HEIC.php
@@ -89,7 +89,7 @@ class HEIC extends ProviderV2 {
$this->cleanTmpFiles();
//new bitmap image object
- $image = new \OC_Image();
+ $image = new \OCP\Image();
$image->loadFromData((string) $bp);
//check if image object is valid
return $image->valid() ? $image : null;