Olá pessoal, blz?
To com um problemao e nao to conseguindo resolver.
Preciso colocar marca d'agua nas fotos e estou usando o AspJpeg, até aí tudo bem.
Mais acontece que qdo ele insere o logotipo que é .gif com fundo transparente, ele passa para o fundo branco.
Vejam em:
http://www.franciosi...daguaimagem.asp
O código que estou usando é esse:
' Directory with images
Path1 = Server.MapPath("imgmarcadagua/3.jpg")
Path2 = Server.MapPath("imgmarcadagua/img_logotipo_franciosi.gif")
Set Jpeg1 = Server.CreateObject("Persits.Jpeg")
Set Jpeg2 = Server.CreateObject("Persits.Jpeg")
Jpeg1.Open Path1
Jpeg2.Open Path2
Jpeg1.Canvas.DrawImage 1, 100, Jpeg2 ' optional arguments omitted
Jpeg1.Save Server.MapPath("imgmarcadagua/Xxx_fotos.jpg")
Se alguém puder me dar um help....
[]s,
Adilson
Aspjpeg - Transparencia
Started By
spynet
, 29/10/2007, 16:00
1 reply to this topic
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)