Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
General field type
Message
From
12/06/2001 13:25:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
06/06/2001 10:09:07
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00515746
Message ID:
00518501
Views:
11
>I have a table that contains a field of type: General .
>When I want to browse a table and to view an image of this field ,
>if the file type is BMP I see picture in its actual size, but if the
>file type is JPG I see only the icon, when double-clicking on it I see the actual picture.

After doing some preliminary testing, I decided *not* to use general fields for my images. Rather, I keep the images as separate JPG-files.

The difference is size. Whereas a single JPG-file used ca. 50 KB, after adding it to the sample table as a general field, the filesize grew by over 1 MB. The ratio is at least 1:20.

I recommend, then, to keep the JPG-files as such, and to have only a filename in a field.

Regards, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform