public class ImagingUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.eurodyn.qlack2.fuse.imaging.api.dto.DotsPerInch |
getDPI(byte[] image)
Find the horizontal and vertical DPIs of the image.
|
static String |
getType(byte[] image)
Finds a reader for the provided image and return its type.
|
public static com.eurodyn.qlack2.fuse.imaging.api.dto.DotsPerInch getDPI(byte[] image)
throws IOException
image - The image to check for DPI metadata.IOException - When the image could not be properly parsed to extract DPIs.public static String getType(byte[] image) throws IOException
image - The image to check.IOException - When the image could not be properly parsed to get its type.Copyright © 2020. All rights reserved.