Skip to content

Commit

Permalink
Magic numbers for gd copy for some insane reason
Browse files Browse the repository at this point in the history
  • Loading branch information
kthakore committed May 27, 2011
1 parent 035d5e4 commit c76e0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebGUI/Graphics.pm
Expand Up @@ -146,7 +146,7 @@ sub cropRefactor {

$self->session->log->info("Resizing $filename to w:$width h:$height x:$x y:$y");

$crop_img->copy( $image, 0, 0, $x, $y, $width, $height );
$crop_img->copy( $image, 0, 0, $x+150, $y-200, $width, $height );

my $ext = $self->getFileExtension( $filename );

Expand Down

0 comments on commit c76e0ee

Please sign in to comment.