Friday, July 31, 2009

Craig's Utility Library v1.5 – Sometimes we just need that Image to ASCII art converter (and all those other cool things in Craig’s grab-bag o’ code)

Craig's Utility Library - Craig's Utility Library Code 1.5

“…

Released: Jul 29 2009

Updated: Jul 29 2009 by JaCraig

Dev status: Stable

Downloads & Files

Utilities1_5.zip, source code, 3104K, uploaded Wed

Release Notes

This release contains the following added functionality:

  • Javascript minification
  • Image related classes:
    • Converter from an image to ASCII art
    • Ability to draw rounded rectangles
    • Take the negative of an image

…”

CodePlex - Craig's Utility Library

Project Description
Craig's Utility Library (or CUL, as in cull because I'm not that creative), was initially designed through a number of projects that I've worked on. Over time I assembled a number of classes to handle various tasks and continue to add a number of items in my spare time including the following:

  • Encryption
    • AES
    • Caesar
    • DES
    • RSA
    • TripleDES
    • Vernam
  • Hashing
    • MD5
    • SHA1
  • Compression
    • Deflate
    • GZip
  • Serialization (XML, SOAP, and binary)
  • File management (including FTP and HTTP)
  • Email
    • Pop3 client (SSL capable)
    • MIME parser
    • SMTP email sending (SSL capable)
    • Exchange inbox email retrieval
  • HTML related functions
  • Javascript related functions (including minification)
  • CSS related functions (including minification)
  • Image manipulation
    • Cropping, resizing, rotating, flipping
    • To black and white or sepia tone
    • Threshold and edge detection
    • Text drawing, watermarks, object drawing helpers
    • Taking a screenshot which spans monitors
    • RGB Histograms
    • Various convolution filters such as sharpen, sobel emboss, etc. along with the ability to create your own easily.
    • Various other filters such as "jitter", pixelate, sin wave, median filter, and dilation, red/green/blue filters,
    • Multiple blurring techniques including box blur, Gaussian blur, Kuwahara, and Symmetric Nearest Neighbor blur
    • Bump map and Normal map helpers
    • ASCII art generator
    • Adjust brightness, gamma, and contrast
  • Active Directory querying
    • Includes functions for active users, all users, all groups, active members in groups, etc.
  • Exchange querying
    • Free/Busy data
    • Get next/previous available time for appointments
    • Get contacts
    • Get appointments/events
    • Get emails
    • Get the GAL
  • SQL query helper
  • File formats/Microformats
    • XMDP
    • RSS (with iTunes/Zune information embedded for podcasts)
    • vCard/hCard
    • vCalendar/hCalendar
    • iCalendar (with email sending capabilities, cancellation, and automatically putting it in Exchange)
    • APML
    • OPML
    • FOAF
    • XFN
    • CSV
    • RSD
    • BlogML
  • Code to render a web page to BMP file
  • WebBrowser control cache clearing class
  • Reflection helper
  • Randomization
    • Including string randomization based on allowable characters, date randomization, and Lorem Ipsum generation.
  • Environment information
  • Process management
  • Error/Information gathering
  • Track back and ping back helper classes
  • Math related classes
    • Matrix
    • Vector
  • And some basic data conversion

…”

Craig’s taken his grab-bag of utility functions and shared it with the world. This is a code distribution, so only grab it if you’re into code (and who isn’t?  lol).

You’ve got to love the scope of all this… There’s got to be a bit of code here for about everyone. The license is very loose and open as well making it easy for us to stand on a giant’s shoulder’s (i.e. to leverage Craig’s cool work).

No comments: