Bug 1680387 - Read and expose EXIF image resolution data. r=tnikkel,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D113264
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "mozilla/SVGImageContext.h"
|
||||
#include "ImageRegion.h"
|
||||
#include "Orientation.h"
|
||||
#include "mozilla/image/Resolution.h"
|
||||
|
||||
#include "mozilla/MemoryReporting.h"
|
||||
|
||||
@@ -113,6 +114,9 @@ Maybe<AspectRatio> DynamicImage::GetIntrinsicRatio() {
|
||||
NS_IMETHODIMP_(Orientation)
|
||||
DynamicImage::GetOrientation() { return Orientation(); }
|
||||
|
||||
NS_IMETHODIMP_(Resolution)
|
||||
DynamicImage::GetResolution() { return {}; }
|
||||
|
||||
NS_IMETHODIMP
|
||||
DynamicImage::GetType(uint16_t* aType) {
|
||||
*aType = imgIContainer::TYPE_RASTER;
|
||||
|
||||
Reference in New Issue
Block a user