~ubuntu-branches/ubuntu/utopic/python-chaco/utopic

« back to all changes in this revision

Viewing changes to enthought/chaco/image_data.py

  • Committer: Bazaar Package Importer
  • Author(s): Varun Hiremath
  • Date: 2011-04-06 19:03:54 UTC
  • mfrom: (7.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110406190354-rwd55l2ezjecfo41
Tags: 3.4.0-2
d/rules: fix pyshared directory path (Closes: #621116)

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        on disk. 'filename' may be a file path or a file object.
86
86
        """
87
87
        
88
 
        from enthought.kiva.backend_image import Image
 
88
        from enthought.kiva.image import Image
89
89
        img = Image(filename)
90
90
        imgdata = cls(data=img.bmp_array, transposed=False)
91
91
        fmt = img.format()