aspjpeg 缩小png图片后不透明了
<% ' Create instance of AspJpeg
Set Jpeg = Server.CreateObject("Persits.Jpeg")
' Compute path to source image
Path = Server.MapPath("images") & "\hh.png"
' Open source image
Jpeg.Open Path
' Decrease image size by 50%
Jpeg.Width = Jpeg.OriginalWidth / 2
Jpeg.Height = Jpeg.OriginalHeight / 2
' Apply sharpening if necessary
' Jpeg.Sharpen 1, 130
' create thumbnail and save it to disk
Jpeg.Save Server.MapPath("images") & "\hh8.png"
%>
<IMG SRC="images/hh.png"><P>
<IMG SRC="images/hh8.png">
------解决方案--------------------------解决方案--------------------
已解决了 你想闹哪样
------解决方案--------------------楼主用的是什么版本?要2.0以上才支持半透明。