View Single Post
Old 11-08-2015, 02:05 PM   #13
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Another question re: simple editing of an image in a container

So far, I've been using:

Code:
data = container.raw_data(imgname)
pixmap = QPixmap()
pixmap.loadFromData(data)

... do some pixmap changes via GUI ...

pixmap.save(container.name_to_abspath(imgname))
but pixmap.save breaks your container guidelines of 'don't do direct read/writes'. What should I be using instead to do the write?

TIA
jackie_w is offline   Reply With Quote