mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	
						commit
						b9a05b8516
					
				|  | @ -39,7 +39,7 @@ class TestImageArray(PillowTestCase): | |||
|         def test(mode): | ||||
|             i = im.convert(mode) | ||||
|             a = i.__array_interface__ | ||||
|             a["strides"] = 1  # pretend it's non-contigous | ||||
|             a["strides"] = 1  # pretend it's non-contiguous | ||||
|             # Make wrapper instance for image, new array interface | ||||
|             wrapped = Wrapper(i, a) | ||||
|             out = Image.fromarray(wrapped) | ||||
|  |  | |||
|  | @ -249,7 +249,7 @@ class TestImageTransformAffine(PillowTestCase): | |||
| 
 | ||||
| 
 | ||||
| class TestImageTransformPerspective(TestImageTransformAffine): | ||||
|     # Repeat all tests for AFFINE transormations with PERSPECTIVE | ||||
|     # Repeat all tests for AFFINE transformations with PERSPECTIVE | ||||
|     transform = Image.PERSPECTIVE | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -82,7 +82,7 @@ typedef struct { | |||
|     /* Stream type (0=full, 1=tables only, 2=image only) */ | ||||
|     int streamtype; | ||||
| 
 | ||||
|     /* DPI setting (0=square pixels, otherwide DPI) */ | ||||
|     /* DPI setting (0=square pixels, otherwise DPI) */ | ||||
|     int xdpi, ydpi; | ||||
| 
 | ||||
|     /* Chroma Subsampling (-1=default, 0=none, 1=medium, 2=high) */ | ||||
|  |  | |||
|  | @ -237,7 +237,7 @@ ImagingZipDecode(Imaging im, ImagingCodecState state, UINT8* buf, int bytes) | |||
|                 state->y = STARTING_ROW[context->pass]; | ||||
|                 row_len = get_row_len(state, context->pass); | ||||
|                 /* Since we're moving to the "first" line, the previous line
 | ||||
|                  * should be black to make filters work corectly */ | ||||
|                  * should be black to make filters work correctly */ | ||||
|                 memset(state->buffer, 0, state->bytes+1); | ||||
|             } | ||||
|         } else { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user