//scanning/com.pixelnetica.scanning/ScanPicture/Companion
Companion
[androidJvm]
object Companion
Properties
| Name | Summary |
|---|---|
| DISPLAY_BITMAP | [androidJvm] const val DISPLAY_BITMAP: Int = 1 Pass to createBitmap to transform bitmap to specified ScanPicture orientation. |
| FIT_TO_HARDWARE | [androidJvm] const val FIT_TO_HARDWARE: Int = 4 pass to createBitmap to resize bitmap less than android.graphics.RecordingCanvas maximal bitmap size |
| FIT_TO_TEXTURE | [androidJvm] const val FIT_TO_TEXTURE: Int = 2 Pass to createBitmap to resize bitmap less than device OpenGL texture It is useful to display picture through Android’s android.widget.ImageView cannot display images great than OpenGL texture. |
Functions
| Name | Summary |
|---|---|
| load | [androidJvm] fun load(stream: InputStream): ScanPicture Public version for ScanPicture(InputStream) |