com.tuneology.sane
Class SaneParameters

java.lang.Object
  |
  +--com.tuneology.sane.SaneParameters

public class SaneParameters
extends java.lang.Object

The current scan parameters.

Version:
$Id$
Author:
Fran Taylor

Field Summary
 int bytes_per_line
          Specifies the number of bytes that comprise one scan line.
 int depth
          Specifies the number of bits per sample.
 int format
          Specifies the format of the next frame to be returned.
 boolean last_frame
          Set to true if and only if the frame that is currently being acquired (or the frame that will be acquired next if there is no current frame) is the last frame of a multi frame image (e.g., the current frame is the blue component of a red, green, blue image).
 int lines
          Specifies how many scan lines the frame is comprised of.
 int pixels_per_line
          Specifies the number of pixels that comprise one scan line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

format

public int format
Specifies the format of the next frame to be returned.


last_frame

public boolean last_frame
Set to true if and only if the frame that is currently being acquired (or the frame that will be acquired next if there is no current frame) is the last frame of a multi frame image (e.g., the current frame is the blue component of a red, green, blue image).


lines

public int lines
Specifies how many scan lines the frame is comprised of. If this value is -1, the number of lines is not known a priori and the frontend should call read() until it throws STATUS_EOF.


depth

public int depth
Specifies the number of bits per sample.


pixels_per_line

public int pixels_per_line
Specifies the number of pixels that comprise one scan line.


bytes_per_line

public int bytes_per_line
Specifies the number of bytes that comprise one scan line.