Autor Beitrag
Speed
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

WIN XP
Delphi 2006 Prof.
BeitragVerfasst: Sa 22.10.05 16:54 
Hey,

ich hab mich jetzt mal dran gesetzt mir ein Programm zu schreiben was bilder in ne Datenbank lädt.

Keine Angst, jetzt kommt ne, wie ich jpeg Bilder lade und bla,bla,bla... :nut:

Nee, ich will wissen obs irgenwie sein kann, dass die Bilder, die ich in die Paradox Datenbank speichern will zu groß sind.
Wenn ich z.B. ein Bild nehme, das 900 KB ist, klappt das speichern ohne Probleme, bloß, wenn ich es mit einem Bild probiere, dass 2,25 MB groß ist, kommt ständig "Bitmap ist ungültig". :gruebel:

Greetz Speed
Bernhard Geyer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 721
Erhaltene Danke: 3



BeitragVerfasst: Di 25.10.05 09:00 
Meine Standard-Frage: Muß es denn noch BDE sein?

Antwort zu Frage: Es gibt eine BDE-Einstellung die Blob's beschrängt. Es müsste im Treiber die Einstellung "BLOCK SIZE" sein (aber ohne Gewähr, hab die BDE schon seit einiger Zeit im "Rundkontainer" entsorgt).
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Di 25.10.05 09:14 
Abgesehen von der BDE.
Müssen die Bilder wirklich in der DB gespeichert werden? Bei Paradox sind das Bitmaps. Selbst wenn du jpg in die Tabelle einträgst, wird das gewandelt. (Zumindest war das bei mir so.)
Speicher doch besser die Information, wo das Bild abgelegt ist (Pfad und Dateiname). Das hält die DB schlank und du kannst auf das Bild auch noch dirket zugreifen. Nachteil: Du musst ein paar sachen per Hand steuern und die Datei könnte manuell gelöscht/verschoben/umbenannt (etc) werden.
Speed Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

WIN XP
Delphi 2006 Prof.
BeitragVerfasst: Fr 28.10.05 14:00 
Ja ,is wohl am besten so,

wollts ja auch nur mal ausprobieren, weil ich erst mit Datenbanken angefangen habe, und da is mir das eben aufgefallen.

Danke und Greetz....Speed