I have a sprite class that's working just as I want it to, but the problem is that it takes up approximately 60% of the world. So naturally, I've tried scaling it. I've attached the code that I've tried thus far, which has been effective in other, similar scenarios. What is it I'm doing wrong?
//First method of rescaling: one GFI
GreenfootImage image = new GreenfootImage("filename.jpg");
image.scale(image.getHeight()-100,image.getWidth()-100);
this.setImage(image);
//Second method of rescaling: two GFIs, with one GFI assigned to the other
GreenfootImage sprite = new GreenfootImage("filename.jpg");
GreenfootImage image = new GreenfootImage(sprite);
image.scale(image.getHeight()-100,image.getWidth()-100);
this.setImage(image);


