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
 
What is it exactly you need to accomplish?

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top