-
3
- #1
b2bnettools
Vendor
As a follow up to the questions that I had placed on this board and was searching for in other areas, and since I have seen these same questions unanswered from other individuals I would like to help anyone who attempts to use BLOB fields. I have about 3 weeks of work into this trying to figure it out so I hope it saves someone time.<br><br>It turns out that the major thing you need to watch is that the graphics contained in the BLOB field are NOT GIF's. Crystal can't display them. Bitmaps seem fine, I am testing JPEGS but don't forsee a problem.<br><br>My major problem was that the graphic files I was given to load in by the customer all had a .jpg extension. Naturally, I assumed they were JPEG's. But low and behold, they were really GIF's. Now, to a browser, it doesn't seem to matter. It must read the header record of the graphic and determine what to do with it.<br><br>I wrote routines to import and export them to and from the database and finally found the GIF definition in the header file of the graphic. That tipped me off to the problem.<br><br>I really don't know why Crystal doesn't support GIF's; this seems silly.<br><br>But for anyone who wants to store graphic images in BLOB fields and then display them in Crystal make sure the source files are compatible with Crystal. Otherwise you will need to write some conversion routines (just like I am doing right now) to take all of your graphic files and convert them to JPEG's.<br><br>