Author: caefer
Date: 2010-05-18 18:01:31 +0200 (Tue, 18 May 2010)
New Revision: 29504

Modified:
   plugins/sfImageTransformExtraPlugin/trunk/README
   
plugins/sfImageTransformExtraPlugin/trunk/config/sfImageTransformExtraPluginConfiguration.class.php
   plugins/sfImageTransformExtraPlugin/trunk/package.xml.tmpl
Log:

 * corrected README about overlay and alphaMask transformation parameters
 * updated package and plugin configuration to the next release
 


Modified: plugins/sfImageTransformExtraPlugin/trunk/README
===================================================================
--- plugins/sfImageTransformExtraPlugin/trunk/README    2010-05-18 15:50:45 UTC 
(rev 29503)
+++ plugins/sfImageTransformExtraPlugin/trunk/README    2010-05-18 16:01:31 UTC 
(rev 29504)
@@ -131,7 +131,7 @@
               - { adapter: GD, transformation: crop, param: { left: 90, top: 
72, width: 120, height: 120 }}
               - { adapter: GD, transformation: rotate, param: { angle: 20, 
background: '#FFFFFF' }}
               - { adapter: GD, transformation: crop, param: { left: 17, top: 
17, width: 120, height: 120 }}
-              - { adapter: GD, transformation: overlay, param: { overlay: 
overlays/logo.png, position: center }}
+              - { adapter: GD, transformation: overlay, param: { overlay: 
sfImage|overlays/logo.png, position: center }}
 
 ![star4](http://stat.ical.ly/thumbnails/star4.png "Watermarked")
 
@@ -144,8 +144,8 @@
               - { adapter: GD, transformation: crop, param: { left: 90, top: 
72, width: 120, height: 120 }}
               - { adapter: GD, transformation: rotate, param: { angle: 20, 
background: '#FFFFFF' }}
               - { adapter: GD, transformation: crop, param: { left: 17, top: 
17, width: 120, height: 120 }}
-              - { adapter: GD, transformation: overlay, param: { overlay: 
overlays/logo.png, position: center }}
-              - { adapter: GD, transformation: overlay, param: { overlay: 
overlays/star_frame.png, position: center }}
+              - { adapter: GD, transformation: overlay, param: { overlay: 
sfImage|overlays/logo.png, position: center }}
+              - { adapter: GD, transformation: overlay, param: { overlay: 
sfImage|overlays/star_frame.png, position: center }}
 
 ![star5](http://stat.ical.ly/thumbnails/star5.png "Star frame added")
 
@@ -158,15 +158,19 @@
               - { adapter: GD, transformation: crop, param: { left: 90, top: 
72, width: 120, height: 120 }}
               - { adapter: GD, transformation: rotate, param: { angle: 20, 
background: '#FFFFFF' }}
               - { adapter: GD, transformation: crop, param: { left: 17, top: 
17, width: 120, height: 120 }}
-              - { adapter: GD, transformation: overlay, param: { overlay: 
overlays/logo.png, position: center }}
-              - { adapter: GD, transformation: overlay, param: { overlay: 
overlays/star_frame.png, position: center }}
-              - { adapter: GD, transformation: alphaMask, param: { mask: 
masks/star_mask.gif }}
+              - { adapter: GD, transformation: overlay, param: { overlay: 
sfImage|overlays/logo.png, position: center }}
+              - { adapter: GD, transformation: overlay, param: { overlay: 
sfImage|overlays/star_frame.png, position: center }}
+              - { adapter: GD, transformation: alphaMask, param: { mask: 
sfImage|masks/star_mask.gif }}
 
 ![star6](http://stat.ical.ly/thumbnails/star6.png "Stamped out")
 
 Done! ;)
 
+> Please note that for overlay and alphaMask transformations
+> you need to prefix the resource path with "sfImage|" as this
+> automatically converts the path into an sfImage object.
 
+
 ## How does it work?
 
 The generation process that we designed so far works like this:

Modified: 
plugins/sfImageTransformExtraPlugin/trunk/config/sfImageTransformExtraPluginConfiguration.class.php
===================================================================
--- 
plugins/sfImageTransformExtraPlugin/trunk/config/sfImageTransformExtraPluginConfiguration.class.php
 2010-05-18 15:50:45 UTC (rev 29503)
+++ 
plugins/sfImageTransformExtraPlugin/trunk/config/sfImageTransformExtraPluginConfiguration.class.php
 2010-05-18 16:01:31 UTC (rev 29504)
@@ -21,7 +21,7 @@
  */
 class sfImageTransformExtraPluginConfiguration extends sfPluginConfiguration
 {
-  const VERSION = '1.0.2';
+  const VERSION = '1.0.3';
 
   /**
    * @see sfPluginConfiguration

Modified: plugins/sfImageTransformExtraPlugin/trunk/package.xml.tmpl
===================================================================
--- plugins/sfImageTransformExtraPlugin/trunk/package.xml.tmpl  2010-05-18 
15:50:45 UTC (rev 29503)
+++ plugins/sfImageTransformExtraPlugin/trunk/package.xml.tmpl  2010-05-18 
16:01:31 UTC (rev 29504)
@@ -51,6 +51,27 @@
   <changelog>
     <release>
       <version>
+        <release>1.0.3</release>
+        <api>1.0.0</api>
+      </version>
+      <stability>
+        <release>stable</release>
+        <api>stable</api>
+      </stability>
+      <license uri="http://www.symfony-project.org/license";>MIT 
license</license>
+      <date>2010-05-18</date>
+      <license>MIT</license>
+      <notes>
+       > This is a bugfix release. Remote image sources depending on their 
binary structure might not have been able to detect the mime type of. This was 
caused by getimagesize() seeking when mime information could not be read from 
the first chunk of data.
+
+       * caefer: moved default http route upwards to avoid a conflict with the 
default file route
+       * caefer: implemented seekable stream_read() for remote sources (with 
help from Jan Schumann)
+       * caefer: added tests to ensure seeking/telling is working on remote 
sources.
+       * caefer: corrected the README about overlay and alphaMask 
transformation parameters
+      </notes>
+    </release>
+    <release>
+      <version>
         <release>1.0.2</release>
         <api>1.0.0</api>
       </version>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to