read and write jpg files

  • Thread starter Thread starter Davide Rodomonti
  • Start date Start date
D

Davide Rodomonti

Is it possible scaling image to a specified scale using : ijl15.dll (the
tool to read and write jpg files)?


Select Case jpg_scale
Case 1
' Now decompress the JPG into the DIBSection:
jerr = ijlRead(jcprops, IJL_JFILE_READWHOLEIMAGE)
Case 2
' Now decompress the JPG into the DIBSection:
jerr = ijlRead(jcprops, IJL_JFILE_READONEHALF)
Case 4
' Now decompress the JPG into the DIBSection:
jerr = ijlRead(jcprops, IJL_JFILE_READONEQUARTER)
Case 8
' Now decompress the JPG into the DIBSection:
jerr = ijlRead(jcprops, IJL_JFILE_READONEEIGHTH)
......

Case x????
jerr = ijlRead(jcprops, ??????)


End Select

Thanks

Davide
 
Back
Top