Last active
December 19, 2015 10:29
-
-
Save vighneshbirodkar/5940548 to your computer and use it in GitHub Desktop.
Qt code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img = Image('abc.png') | |
img.show() # should open a new qt window to show the image | |
#this call should not block, and should reutrn immediately to allow the user to do further image processing | |
#additional image processing | |
img.toGray() | |
img.whatever() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
!/usr/bin/env python
from PyQt4 import QtGui,QtCore
import sys
class Gui(t):
if name == 'main':
gui = Gui() # something like this ?