The Functions
The Functions
-
public static boolean isSnowDocFormat(DataInputStream fileStream)
- Determines format of the input file & returns true if that format is supported by SnowDoc
- Will continue to be updated as more formats are adapted to support SnowDoc
-
public static SnowDoc createSnowDoc(DataInputStream fileStream)
- Creates a SnowDoc from the input file & returns it
- Accepts optional parameters to specify layout resolution & bit depth, as well as the ability to override the file’s default page width & height. For example:
public static SnowDoc createSnowDoc(DataInputStream fileStream, int resolution, int bitDepth)
public static SnowDoc createSnowDoc(DataInputStream fileStream, int resolution, int bitDepth, int width, int height)
- These optional parameters are also available for the
String
&byte[]
versions of createSnowDoc - The default resolution is 300dpi
- The default bit depth is 24
- The optional width and height parameters are in pixels at the specified resolution
Have questions, corrections, or concerns about this topic? Please let us know!