View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005355||JEDI VCL||00 JVCL Components||public||2010-10-07 20:54||2011-06-07 17:23|
|Status||resolved||Resolution||no change required|
|Target Version||Fixed in Version|
|Summary||0005355: JvDBImage does not recognize .jpg image|
|Description||Advantage database \ Delphi7 \ WindowsNT|
I downloaded the jcl and jvcl components few days ago from source forge as the JvDBImage supports jpg images along with bmp.
When trying to load the .jpg image into the ads database I get an error that
the image is not valid.
I read a post about registering the class for EXIF type of JPEG image in the
GraphicSignatureNeeded () procedure. But cannot find the procedure in
JvDBImage.pas nor can I find the JvGraphics.pas
I do see that older versions of JvDBImage.pas had the GraphicSignatureNeeded () procedure. How do I fix this problem as I suspect this might be an exif jpg.
|Tags||No tags attached.|
||You must have the jpeg unit in your uses|
Thanks for your response. I do have jpeg in my uses. I ahev been able to load other jpg images to some other records. Its just these two photos for one particular record taht are giving me this error. SO I wondered if they were exif type of jpeg and if they needed registering in the GraphicSignatureNeeded () procedure.
The post I read said to add the line of code below to the GraphicSignatureNeeded() procedure.
RegisterGraphicSignature('Exif', 6, TJPEGImage);
Where do I add this line as I dont see a Graphics.pas or a procedure in JvDBIMage.pas to add this line of code to.
There is no Graphics.pas in the JVCL because Graphics is from Delphi itself.
Just make sure your images are real jpeg images. Dump them to file and try to edit them with a picture editor that will tell you what format they are in.
Note that I don't think EXIF would be a problem, it's just an additional field in the file, ignored when rendering the image
|2010-10-07 20:54||msgopala||New Issue|
|2010-10-08 09:09||obones||Note Added: 0017760|
|2010-10-08 09:09||obones||Status||new => feedback|
|2010-10-08 13:44||msgopala||Note Added: 0017761|
|2010-10-08 13:51||obones||Note Added: 0017762|
|2011-06-07 17:23||obones||Status||feedback => resolved|
|2011-06-07 17:23||obones||Resolution||open => no change required|
|2011-06-07 17:23||obones||Assigned To||=> obones|