summaryrefslogtreecommitdiffstats
path: root/contrib/python/Pillow/py3/libImaging/Negative.c
diff options
context:
space:
mode:
authormaxim-yurchuk <[email protected]>2025-02-11 13:26:52 +0300
committermaxim-yurchuk <[email protected]>2025-02-11 13:57:59 +0300
commitf895bba65827952ed934b2b46f9a45e30a191fd2 (patch)
tree03260c906d9ec41cdc03e2a496b15d407459cec0 /contrib/python/Pillow/py3/libImaging/Negative.c
parent5f7060466f7b9707818c2091e1a25c14f33c3474 (diff)
Remove deps on pandas
<https://github.com/ydb-platform/ydb/pull/14418> <https://github.com/ydb-platform/ydb/pull/14419> \-- аналогичные правки в gh Хочу залить в обход синка, чтобы посмотреть удалится ли pandas в нашей gh репе через piglet commit_hash:abca127aa37d4dbb94b07e1e18cdb8eb5b711860
Diffstat (limited to 'contrib/python/Pillow/py3/libImaging/Negative.c')
-rw-r--r--contrib/python/Pillow/py3/libImaging/Negative.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/contrib/python/Pillow/py3/libImaging/Negative.c b/contrib/python/Pillow/py3/libImaging/Negative.c
deleted file mode 100644
index 70b96c39772..00000000000
--- a/contrib/python/Pillow/py3/libImaging/Negative.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * The Python Imaging Library
- * $Id$
- *
- * negate image
- *
- * to do:
- * FIXME: Maybe this should be implemented using ImagingPoint()
- *
- * history:
- * 95-11-27 fl: Created
- *
- * Copyright (c) Fredrik Lundh 1995.
- * Copyright (c) Secret Labs AB 1997.
- *
- * See the README file for information on usage and redistribution.
- */
-
-#include "Imaging.h"
-
-Imaging
-ImagingNegative(Imaging im) {
- Imaging imOut;
- int x, y;
-
- if (!im) {
- return (Imaging)ImagingError_ModeError();
- }
-
- imOut = ImagingNewDirty(im->mode, im->xsize, im->ysize);
- if (!imOut) {
- return NULL;
- }
-
- for (y = 0; y < im->ysize; y++) {
- for (x = 0; x < im->linesize; x++) {
- imOut->image[y][x] = ~im->image[y][x];
- }
- }
-
- return imOut;
-}