plug-ins: add missing parameters to file-png-save in openraster save_ora
This commit is contained in:
@ -222,10 +222,13 @@ def save_ora(procedure, run_mode, image, n_drawables, drawables, file, args, dat
|
||||
GObject.Value(GObject.TYPE_BOOLEAN, interlace),
|
||||
GObject.Value(GObject.TYPE_INT, compression),
|
||||
# write all PNG chunks except oFFs(ets)
|
||||
GObject.Value(GObject.TYPE_BOOLEAN, True),
|
||||
GObject.Value(GObject.TYPE_BOOLEAN, True),
|
||||
GObject.Value(GObject.TYPE_BOOLEAN, False),
|
||||
GObject.Value(GObject.TYPE_BOOLEAN, True),
|
||||
GObject.Value(GObject.TYPE_BOOLEAN, True), # Save background color (bKGD chunk)
|
||||
GObject.Value(GObject.TYPE_BOOLEAN, True), # Save gamma (gAMA chunk)
|
||||
GObject.Value(GObject.TYPE_BOOLEAN, False), # Save layer offset (oFFs chunk)
|
||||
GObject.Value(GObject.TYPE_BOOLEAN, True), # Save resolution (pHYs chunk)
|
||||
GObject.Value(GObject.TYPE_BOOLEAN, True), # Save creation time (tIME chunk)
|
||||
# Other settings
|
||||
GObject.Value(GObject.TYPE_BOOLEAN, True), # Save color values from transparent pixels
|
||||
])
|
||||
if (os.path.exists(tmp)):
|
||||
orafile.write(tmp, path)
|
||||
|
Reference in New Issue
Block a user