hi I inserted into oracle database image file on delphi7 with OpenPictureDialog1. All files are .bmp I want to insert .jpeg(.jpg) files. How can I insert this? Thanks in advance.
相关问题
- Is there a Delphi 5 component that can handle .png
- Is there a way to install Delphi 2010 on Windows 2
- Is TWebBrowser dependant on IE version?
- iOS objective-c object: When to use release and wh
- DBGrid - How to set an individual background color
相关文章
- Best way to implement MVVM bindings (View <-> V
- Windows EventLog: How fast are operations with it?
- How to force Delphi compiler to display all hints
- Coloring cell background on firemonkey stringgrid
- HelpInsight documentation in Delphi 2007
- Can RTTI interrogate types from project code at de
- What specifically causes EPrivilege to be raised?
- Equivalent to designer guidelines in code
convert bmp to jpg
Usage: BMPtoJPG('mybitmap.bmp','myjpeg.jpg')
very useful link about jpeg unit
http://www.hamslab.com/lab/delphi/jpeg/jpeg_del.html
how to send jpeg to oracle
1) save jpeg to a file.
2) here you have how to save a file to Oracle:
http://www.delphi3000.com/articles/article_1523.asp?SK=
best regards,
Radu
Add jpeg to the uses clause.
FWIW, unless Jpeg is a requirement, I would use PNG for storage. Jpeg will lose quality in compression. It will be ok for photos, but for diagrams, screenshots, or anything with text, quality will suffer.