diff --git a/hydrus/client/gui/search/ClientGUIPredicatesSingle.py b/hydrus/client/gui/search/ClientGUIPredicatesSingle.py index 3903b9f6c..e88a574f9 100644 --- a/hydrus/client/gui/search/ClientGUIPredicatesSingle.py +++ b/hydrus/client/gui/search/ClientGUIPredicatesSingle.py @@ -11,6 +11,7 @@ from hydrus.core import HydrusGlobals as HG from hydrus.core import HydrusFileHandling from hydrus.core.images import HydrusImageHandling +from hydrus.core.images import HydrusImageNormalisation from hydrus.client import ClientConstants as CC from hydrus.client import ClientImageHandling @@ -2137,7 +2138,7 @@ def _Paste( self ): numpy_image = ClientGUIFunctions.ConvertQtImageToNumPy( qt_image ) - numpy_image = HydrusImageHandling.StripOutAnyUselessAlphaChannel( numpy_image ) + numpy_image = HydrusImageNormalisation.StripOutAnyUselessAlphaChannel( numpy_image ) pixel_hash = HydrusImageHandling.GetImagePixelHashNumPy( numpy_image )