liuwuqingnian
liuwuqingnian
"After upgrading from version 0.33.4 to 0.33.5 of the sharp library, the memory leak issue has been resolved, but there are rendering failures with high-resolution images." sharp(imgBuffer, { unlimited: true...
` try: psd = PSDImage.open(psd_path) logo_layer = psd.find("logo") if logo_layer: try: psd.remove(logo_layer) pil_im = Image.open(replaceimg_path) pil_im = pil_im.convert("RGBA") top = getattr(logo_layer, 'top', 0) left = getattr(logo_layer, 'left', 0) new_layer =...
How can I obtain information about a shape layer, including its color, stroke color, and node positions? psd_tools version: 1.10.4 python version : 3.11.11