Skip to content

Commit d65a985

Browse files
author
Cristy
committed
set virtual pixel method for connected components algorithm @ ImageMagick#5368
1 parent 94deb70 commit d65a985

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MagickCore/vision.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,7 @@ MagickExport Image *ConnectedComponentsImage(const Image *image,
13891389
*/
13901390
component_view=AcquireAuthenticCacheView(component_image,exception);
13911391
object_view=AcquireVirtualCacheView(component_image,exception);
1392+
(void) SetCacheViewVirtualPixelMethod(object_view,TileVirtualPixelMethod);
13921393
for (i=0; i < (ssize_t) component_image->colors; i++)
13931394
{
13941395
RectangleInfo

0 commit comments

Comments
 (0)