Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    web_imagery 1.7

    Download button

    No screenshots available
    Downloads: 114  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Edna Piranha | More programs
    BSD License / FREE
    August 2nd, 2011, 14:19 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    web_imagery description

    Web images generator by link / service (direct link, Instagram, Flickr, Path, Imgur)

    web_imagery is a Python module to grab images from the web by their URLs.

    Currently supports:

    - direct image links that have the following extensions (jpg, jpeg, gif, png)
    - Instagram
    - Imgur
    - Flickr
    - Path

    Usage

    >> from webimagery import *

    >> image = WebImagery()


    First set the url

    >> image.set_image('http://www.flickr.com/photos/ednapiranha/4437021184/') >> True

    You can get the source link

    >> image.get_image() >> 'http://farm3.static.flickr.com/2788/4437021184_848d7fa79d.jpg'

    Or you can get the image tag, setting your own alt text and dimensions

    >> image.get_image_as_html('cat sleeping') >> image.width = 350 >> '< img src="http://farm3.static.flickr.com/2788/4437021184_848d7fa79d.jpg" alt="cat sleeping" width="350" height="200" / >'


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    image generator | grab images | web | image | generator

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM