在用TOpenPictureDialog打开jpg图片时总是有如下错误,并且在瞬间很难发现错误原因:
---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EInvalidGraphic with message 'Unknown picture file extension (.jpg)'.
---------------------------
Break Continue Help
---------------------------
解决办法:uses JPEG;