How to use this function ? u have example code ? We are reading image from database with recordset. Thank you for all.
Come usare questa funzione? siete avere codice di esempio? Siamo immagine della lettura da base di dati con recordset. Grazie per tutti.
SetBlob & GetBlob
Moderators: XnTriq, helmut, xnview
-
- Posts: 4
- Joined: Fri Sep 23, 2005 6:42 am
- Location: Istanbul
SetBlob & GetBlob
Emrah Incioglu
-
- Author of XnView
- Posts: 44584
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: SetBlob & GetBlob
You must provide to GetBlob a byte arrayeincioglu wrote:How to use this function ? u have example code ? We are reading image from database with recordset. Thank you for all.
Pierre.
-
- Posts: 4
- Joined: Fri Sep 23, 2005 6:42 am
- Location: Istanbul
My code is ,
<!--#include file="library/goruntu_al.asp"-->
<%
Set ctrl = server.createobject("GflAx.GflAx")
resim = goruntu_al ("elekarsiv.enc","header","frontpage"," refno ='T05K9NF07006CS'")
response.ContentType ="image/tiff"
With ctrl
.GetBlob (resim)
Response.BinaryWrite .SetBlob()
end with
set ctrl=nothing
%>
Image is blank(black) view . Can u help me ?
<!--#include file="library/goruntu_al.asp"-->
<%
Set ctrl = server.createobject("GflAx.GflAx")
resim = goruntu_al ("elekarsiv.enc","header","frontpage"," refno ='T05K9NF07006CS'")
response.ContentType ="image/tiff"
With ctrl
.GetBlob (resim)
Response.BinaryWrite .SetBlob()
end with
set ctrl=nothing
%>
Image is blank(black) view . Can u help me ?
Emrah Incioglu
-
- Author of XnView
- Posts: 44584
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
I don't know goruntu, do you know the type of the object returned?eincioglu wrote:My code is ,
<!--#include file="library/goruntu_al.asp"-->
<%
Set ctrl = server.createobject("GflAx.GflAx")
resim = goruntu_al ("elekarsiv.enc","header","frontpage"," refno ='T05K9NF07006CS'")
response.ContentType ="image/tiff"
With ctrl
.GetBlob (resim)
Response.BinaryWrite .SetBlob()
end with
set ctrl=nothing
%>
Image is blank(black) view . Can u help me ?
Pierre.
-
- Posts: 4
- Joined: Fri Sep 23, 2005 6:42 am
- Location: Istanbul