DBPix Documentation
Version 2.0

ViewAsyncDecoding Property


Description:  Chooses Asynchronous (background) or Synchronous decoding when displaying images.
Type:  boolean
Read/Get
Write/Set:
  
 
 
Remarks:  

ValueDescription
TrueDecode images asynchronously.
FalseDecode images synchronously.


Decoding images, particularly larger JPEG's like todays digital camera images, can be a fairly CPU intensive operation. Asynchronous decoding allows your application to keep running while DBPix decodes the image in the background. In a database form, for example, you can scroll through records at high speed, rather than waiting for the image to decode for each record.

Note that in some cases this behaviour may be undesirable. For example, if you write code that expects the image to be ready immediately it has been loaded, you should use this property to disable asynchrnous decoding.

 

 

Documentation version 2.0.0