Version bumped to 2.0 and some typos corrected.

This commit is contained in:
Natalia Portillo 2017-05-10 07:28:17 +01:00
parent 5c1559984d
commit 6a6d559a74
No known key found for this signature in database
GPG Key ID: 51D20488C724CA9F

6
wrp.py
View File

@ -1,11 +1,11 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python2.7
# wrp.py - Web Rendering Proxy # wrp.py - Web Rendering Proxy
# A HTTP proxy service that renders the requested URL in to a GIF image associated # A HTTP proxy service that renders the requested URL in to a image associated
# with an imagemap of clickable links. This is an adaptation of previous works by # with an imagemap of clickable links. This is an adaptation of previous works by
# picidae.net and Paul Hammond. # picidae.net and Paul Hammond.
__version__ = "1.4" __version__ = "2.0"
# #
# This program is based on the software picidae.py from picidae.net # This program is based on the software picidae.py from picidae.net
@ -48,7 +48,7 @@ QUALITY = 75 # For JPEG: image quality 0-100; For PNG: sets compression level (l
AUTOWIDTH = True # Check for browser width using javascript AUTOWIDTH = True # Check for browser width using javascript
FORMAT = "AUTO" # AUTO = GIF for mac OS, JPG for rest; PNG, GIF, JPG as supported values. FORMAT = "AUTO" # AUTO = GIF for mac OS, JPG for rest; PNG, GIF, JPG as supported values.
# PythonMagic configuration options # PythonMagick configuration options
MK_MONOCHROME = False # Convert the render to a black and white dithered image MK_MONOCHROME = False # Convert the render to a black and white dithered image
MK_GRAYSCALE = False # Convert the render to a grayscal dithered image MK_GRAYSCALE = False # Convert the render to a grayscal dithered image
MK_COLORS = 0 # Reduce number of colors in the image. 0 for not reducing. Less than 256 works in grayscale also. MK_COLORS = 0 # Reduce number of colors in the image. 0 for not reducing. Less than 256 works in grayscale also.