1. 24 Aug, 2009 3 commits
  2. 20 Aug, 2009 1 commit
  3. 20 Apr, 2009 3 commits
  4. 10 Mar, 2009 1 commit
  5. 09 Mar, 2009 1 commit
    • Dries's avatar
      - Patch #373613 by quicksketch and drewish: in order to operate on images multiple · 0ea65350
      Dries authored
        times (such as crop, scale, then desaturate) without quality loss, we need to
        pass images by their raw GD (or other library) resources rather than re-opening
        the same image repeatedly, which causes wasted processing and loss of quality when
        using JPEG images.  This patch reworks the image toolkits, adds some new image
        manipulations and adds some impressive SimpleTests.
      0ea65350
  6. 30 Dec, 2008 1 commit
  7. 20 Dec, 2008 1 commit
  8. 08 Jul, 2008 1 commit
  9. 14 Apr, 2008 1 commit
  10. 28 Jan, 2008 1 commit
  11. 08 Aug, 2007 1 commit
  12. 02 Aug, 2007 1 commit
  13. 12 May, 2007 1 commit
  14. 11 May, 2007 1 commit
  15. 24 Apr, 2007 1 commit
  16. 13 Apr, 2007 1 commit
  17. 26 Dec, 2006 1 commit
  18. 12 Dec, 2006 1 commit
  19. 18 Sep, 2006 1 commit
  20. 18 Aug, 2006 1 commit
  21. 05 Jul, 2006 1 commit
  22. 14 Dec, 2005 1 commit
  23. 22 Oct, 2005 1 commit
  24. 08 Sep, 2005 1 commit
  25. 25 Aug, 2005 1 commit
  26. 31 Jul, 2005 2 commits
  27. 19 Jun, 2005 1 commit
  28. 29 Mar, 2005 1 commit
  29. 23 Mar, 2005 1 commit
  30. 21 Feb, 2005 1 commit
  31. 01 Feb, 2005 1 commit
    • Dries's avatar
      - Patch #16358 by James: added toolkit to enable better image handling. The... · 7ccc5a6b
      Dries authored
      - Patch #16358 by James: added toolkit to enable better image handling.  The avatar code and the upload module have been updated to take advantage of the new image API.
      
      There are 5 main functions that modules may now utilize to handle images:
      
      * image_get_info() - this function checks a file.  If it exists and is a valid image file, it will return an array containing things like the pixel dimensions of the image, plus the 'type' and common extension.
      * image_scale - resizes a given image to fit within a given width / height dimensions, while maintaining aspect ratio (not distorting the image).  This function can be used to generate thumbnails, or ensure a maximum resolution, etc.
      * image_resize - similar to image_scale (but will not respect aspect ratio - may well distort the image).
      * image_rotate - rotate an image by X degrees
      * image_crop - crops an image to a given rectangle (defined as top-left x/y coordinates plus a width & height of the rectangle).
      
      Contribution modules will now be able to rely on these base manipulation functions to offer additional functionality (such as image nodes, photo galleries, advanced image manipulation, etc).
      7ccc5a6b