Dear Group
I am not a top expert in python or even pyqtgraph. However, I am developing 
a small project where I need to present a .jpeg. Could you please how to do 
so...
I am using this,

import sys 
import pyqtgraph as pg
import numpy as np
from PIL import Image
import numpy as np



ImgFilename = 'Mapa de Norway.jpg'
def run():
    if not QApplication.instance():
        app = QApplication(sys.argv)
    else:
        app = QApplication.instance() 
    app.exec_()
i = Image.open(ImgFilename)
i = i.transpose(Image.FLIP_TOP_BOTTOM)
i = i.rotate(-45)
imgg = np.asarray(i)
#pg.image(imgg)   # FUNCIONA


imv = pg.ImageView()
imv.show()
imv.setImage(imgg)

However, I do not need Histogram, ROI, Menu, etc...It is just presenting 
the jpeg.
Looking forward to your advice, responses are much appreciated!
FGL


-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/ecad49bb-7d11-459f-8063-bc34f7d80fe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to