{"id":103,"date":"2007-05-12T14:15:37","date_gmt":"2007-05-12T12:15:37","guid":{"rendered":" http:\/\/www.nsonic.de\/blog\/2007\/05\/jpeg-readwrite-jpeg-fromto-database\/"},"modified":"2007-05-12T14:15:39","modified_gmt":"2007-05-12T12:15:39","slug":"jpeg-readwrite-jpeg-fromto-database","status":"publish","type":"post","link":"https:\/\/www.nsonic.de\/blog\/2007\/05\/jpeg-readwrite-jpeg-fromto-database\/","title":{"rendered":"JPEG: Read\/write JPEG from\/to Database"},"content":{"rendered":"<p>[code lang=&#8221;delphi&#8221;]PEGStream   : TBLOBStream;<br \/>\nJPEGImage    : TJPEGImage;<\/p>\n<p>JPegImage  := TJPEGImage.Create;<br \/>\nJPEGStream :=<br \/>\nTBLOBStream.Create(TBLOBField(Table1.FieldByName(&#8216;JPGImage&#8217;)),bmRead);<br \/>\nJPegImage.Loadfromstream(JPEGSTREAM);<br \/>\nJPegStream.Free<br \/>\n[\/code]<\/p>\n<p>[tags]Delphi, Database[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[code lang=&#8221;delphi&#8221;]PEGStream : TBLOBStream; JPEGImage : TJPEGImage; JPegImage := TJPEGImage.Create; JPEGStream := TBLOBStream.Create(TBLOBField(Table1.FieldByName(&#8216;JPGImage&#8217;)),bmRead); JPegImage.Loadfromstream(JPEGSTREAM); JPegStream.Free [\/code] [tags]Delphi, Database[\/tags]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[11],"tags":[96,75],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p71Tml-1F","_links":{"self":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/103"}],"collection":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/comments?post=103"}],"version-history":[{"count":0,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/posts\/103\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/media?parent=103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/categories?post=103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nsonic.de\/blog\/wp-json\/wp\/v2\/tags?post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}