- proper - images shouldn't scale higher than a ratio of 1 anymore.

This commit is contained in:
jendave
2011-08-06 03:23:59 +00:00
parent e2a7fcde56
commit 04a37ac5c7
2 changed files with 1 additions and 7 deletions

View File

@@ -70,12 +70,6 @@
} else } else
targetHeight = panelHeight; targetHeight = panelHeight;
} }
if (targetWidth > 201 && srcWidth <= 201)
targetWidth = 201;
if (targetHeight > 285 && srcHeight <= 286)
targetHeight = 285;
ScalingInfo info = new ScalingInfo(); ScalingInfo info = new ScalingInfo();
info.targetWidth = targetWidth; info.targetWidth = targetWidth;
info.targetHeight = targetHeight; info.targetHeight = targetHeight;

View File

@@ -1259,7 +1259,7 @@ public class GuiDisplay3 extends JFrame implements Display, NewConstants, NewCon
*/ */
cardImagePanel.setScalingBlur(false); //use blured image if scaling down more than 50% cardImagePanel.setScalingBlur(false); //use blured image if scaling down more than 50%
cardImagePanel.setScaleLarger(true); //upscale if needed true cardImagePanel.setScaleLarger(false); //upscale if needed true
cardImagePanel.setScalingType(ScalingType.bicubic); // type of scaling bicubic has good quality / speed ratio cardImagePanel.setScalingType(ScalingType.bicubic); // type of scaling bicubic has good quality / speed ratio
cardImagePanel.setScalingMultiPassType(MultipassType.none); cardImagePanel.setScalingMultiPassType(MultipassType.none);