[gallery/gallery3] 9e20a3: #1969 - Give graphics events the ability to overri...
GitHub <noreply-9UaJU3cA/F/[email protected]>
| Newsgroups | gmane.comp.web.gallery.cvs |
|---|---|
| Message-ID | <[email protected]> |
Branch: refs/heads/master
Home: https://github.com/gallery/gallery3
Commit: 9e20a30d22c48f5aacc09035405dd0added499de
https://github.com/gallery/gallery3/commit/9e20a30d22c48f5aacc09035405dd0added499de
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-01-27 (Sun, 27 Jan 2013)
Changed paths:
M modules/gallery/helpers/gallery_graphics.php
Log Message:
-----------
#1969 - Give graphics events the ability to override the standard process.
While graphics_rotate, graphics_resize, and graphics_composite events already exist, they don't have the ability to *override* the standard process.
This makes it a bit tricky when you want to replace the standard procedure with another (e.g. use jpegtran to perform lossless jpg rotation).
Solution:
- make a temp filename.
- tell the events to use it as the output file.
- if an event makes something, use it and skip the standard process.
Commit: 3b0de7791b3171b9d4b4e2577223a47bcaba34ac
https://github.com/gallery/gallery3/commit/3b0de7791b3171b9d4b4e2577223a47bcaba34ac
Author: Bharat Mediratta <[email protected]>
Date: 2013-01-29 (Tue, 29 Jan 2013)
Changed paths:
M modules/gallery/helpers/gallery_graphics.php
Log Message:
-----------
Merge pull request #107 from shadlaws/fix_1969
#1969 - Give graphics events the ability to override the standard process
Compare: https://github.com/gallery/gallery3/compare/23c6c507526e...3b0de7791b31
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
__[ g a l l e r y - c h e c k i n s ]_________________________
[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]