Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated documentation to accurate link for additional PIL image confi…

…guration materials
  • Loading branch information...
commit 6df1d6b0f788b2b3be779a6d02f32d08ef22b896 1 parent df91c7c
David Riordan riordan authored
Showing with 8 additions and 8 deletions.
  1. +4 −4 API.html
  2. +4 −4 TileStache/Core.py
8 API.html
View
@@ -961,7 +961,7 @@
<dt>jpeg options</dt>
<dd>
An optional dictionary of JPEG creation options, passed through
- <a href="http://www.pythonware.com/library/pil/handbook/format-jpeg.htm">to PIL</a>.
+ <a href="http://effbot.org/imagingbook/format-jpeg.htm">to PIL</a>.
Valid options include <var>quality</var> (integer), <var>progressive</var>
(boolean), and <var>optimize</var> (boolean).
</dd>
@@ -969,7 +969,7 @@
<dt>png options</dt>
<dd>
An optional dictionary of PNG creation options, passed through
- <a href="http://www.pythonware.com/library/pil/handbook/format-png.htm">to PIL</a>.
+ <a href="http://effbot.org/imagingbook/format-png.htm">to PIL</a>.
Valid options include <var>palette</var> (URL or filename), <var>palette256</var>
(boolean) and <var>optimize</var> (boolean).
</dd>
@@ -1958,7 +1958,7 @@
<p>
Return value of <code>renderTile</code> is a
-<a href="http://www.pythonware.com/library/pil/handbook/image.htm#Image.save"><code>PIL.Image</code></a>
+<a href="http://effbot.org/imagingbook/image.htm#Image.save"><code>PIL.Image</code></a>
or other saveable object, used like this:
</p>
@@ -2030,7 +2030,7 @@
<p>
Return value of <code>renderArea</code> is a
-<a href="http://www.pythonware.com/library/pil/handbook/image.htm#Image.save"><code>PIL.Image</code></a>
+<a href="http://effbot.org/imagingbook/image.htm#Image.save"><code>PIL.Image</code></a>
or other saveable object, used like this:
</p>
8 TileStache/Core.py
View
@@ -70,9 +70,9 @@
want to leave this at the default value of 256, but you can use a value of 512
to create double-size, double-resolution tiles for high-density phone screens.
- "jpeg options" is an optional dictionary of JPEG creation options, passed
- through to PIL: http://www.pythonware.com/library/pil/handbook/format-jpeg.htm.
+ through to PIL: http://effbot.org/imagingbook/format-jpeg.htm.
- "png options" is an optional dictionary of PNG creation options, passed
- through to PIL: http://www.pythonware.com/library/pil/handbook/format-png.htm.
+ through to PIL: http://effbot.org/imagingbook/format-png.htm.
The public-facing URL of a single tile for this layer might look like this:
@@ -621,7 +621,7 @@ def setSaveOptionsJPEG(self, quality=None, optimize=None, progressive=None):
""" Optional arguments are added to self.jpeg_options for pickup when saving.
More information about options:
- http://www.pythonware.com/library/pil/handbook/format-jpeg.htm
+ http://effbot.org/imagingbook/format-jpeg.htm
"""
if quality is not None:
self.jpeg_options['quality'] = int(quality)
@@ -639,7 +639,7 @@ def setSaveOptionsPNG(self, optimize=None, palette=None, palette256=None):
and it implies bits and optional transparency options.
More information about options:
- http://www.pythonware.com/library/pil/handbook/format-png.htm
+ http://effbot.org/imagingbook/format-png.htm
"""
if optimize is not None:
self.png_options['optimize'] = bool(optimize)
Please sign in to comment.
Something went wrong with that request. Please try again.