winzip icon

Create Dynamic Images (Advanced) (.gif,.jpg,.png) (Server-Side with GD Library)

Email
Submitted on: 1/7/2015 9:22:00 AM
By: Trevor Herselman (from psc cd)  
Level: Advanced
User Rating: By 2 Users
Compatibility: ASP (Active Server Pages)
Views: 3480
 
     Edited quote from www.boutell.com: "GD is an open source code library for the dynamic creation of images by programmers. GD creates PNG, JPEG and GIF images, and is commonly used to generate charts, graphics, thumbnails, graphs, text and almost anything on the fly." For a demonstration of this project: http://www.pinnacle.co.za/gif/dynamicgif.asp - Press F5 to refresh and see a new random image. Read more here: http://www.codeproject.com/asp/GDLibraryWrapper.asp - 3 ASP examples included! Readme.txt included. What can it do? An image can be created/loaded, drawn on, saved to file/database or sent to a browser in less than 5 lines of code! Read/Write directly to BLOB/Image types in SQL.opening a file and writing a copyright message on it or adding a watermark/logo. Creating pie charts or graphs for stats. Drawing lines, pixels, circles/ellipses, gradient fills (this dll only, thanks to my best friend, L). Writing horizontal/vertical text. Loading/saving to file/database (BLOB/Image data type). Store and load an image in SQL, and output it dynamically to a client. Or first write something dynamically on it and then output it to a client browser. Upload an image to the server, change the file dynamically (like resize it, or write a message on it, or change it's format) and save it back to file for use later. The uses are endless! I hope people will vote, simply to show others the quality of this project, as I invested a lot of time to code/test/debug this project & research GD Library. NB: This project is not for the faint of heart, it might take time before you need this or have the skill set to use it! PS: You will need to compile this code in VB6 and download the GD Library DLL from www.boutel.com/gd/

 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
' for :Create Dynamic Images (Advanced) (.gif,.jpg,.png) (Server-Side with GD Library)
'**************************************
This wrapper was developed by Trevor Herselman.
GD is copyright 2005 Boutell.com, Inc.
GD was developed by Thomas Boutell.
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments


 There are no comments on this submission.
 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.