On Thu, May 11, 2006 at 08:12:48AM -0700, [EMAIL PROTECTED] wrote:
 > Thanks Dimitri,  You've confirmed my initial guess at what would make the 
 > most sense. I have one minor question...
 >
 > If I were to use TYPE_3BYTE_BGR I assume that the array is padded at the end 
 > of each line much like a Windows BITMAP would expect for alignment.  The 
 > documentation for TYPE_3BYTE_BGR does say "corresponding to a Windows-style 
 > BGR color model"  but doesn't explicitly mention the per-line alignment 
 > restrictions (multiples of 32bits per line). Perhaps the documentation could 
 > be  explicit about that.
 > [Message sent by forum member 'swpalmer' (swpalmer)]

  You should be able to figure out the scanline stride from the
  image's sample model, and I believe that for TYPE_3BYTE_BGR it's
  actually not padded, which means you'll need to work with the data
  scanline at a time.

  Thanks,
    Dmitri


 >
 > http://forums.java.net/jive/thread.jspa?messageID=112791
 >
 > ===========================================================================
 > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 > of the message "signoff JAVA2D-INTEREST".  For general help, send email to
 > [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to