DFLJPG, upd max save len

This commit is contained in:
Colombo 2020-11-16 11:04:03 +04:00
commit 9ed662c522

View file

@ -301,7 +301,7 @@ class DFLJPG(object):
mask_a = imagelib.normalize_channels(mask_a, 1)
img_data = np.clip( mask_a*255, 0, 255 ).astype(np.uint8)
data_max_len = 4096
data_max_len = 8192
ret, buf = cv2.imencode('.png', img_data)