Snapshot and thumnail of web page
Techniques
This category is aimed to help programmers in order to find and share helpfull techniques, source code and more stuff.
Techniques / Web tools : DypsImg2SWF
Documentation: DypsImg2SWF object reference <
Previous Page
- How to transform a Jpeg,Gif,Bmp,PNG file to flash animation :
This short example will help you to learn how to create a thumbnail swf file from an image on the fly with DypsImg2SWF.
You should have write permission on the local folder.
<%
'Create the Transformer object
set swf = createObject("DypsImg2SWF.Transformer")
'Set the final SWF thumbnail width and height
swf.swfHeight = 150
swf.swfWidth = 200
'Retrieve the image to transform
swf.GetPicture(Server.MapPath("MyImage.jpg"))
'Save the SWF file!
swf.Save Server.MapPath("MySWFThumb.swf")
set swf = nothing
%>
Documentation: DypsImg2SWF object reference <
Previous Page



