fix graph sizing problems with graphicsmagick
This commit is contained in:
parent
ff4a2825ef
commit
92fb660f50
2 changed files with 5 additions and 2 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
7.4.10
|
||||||
|
- fix: Graphs aren't sized properly using GraphicsMagick
|
||||||
|
|
||||||
7.4.9
|
7.4.9
|
||||||
- fix: Bug that did not allow Calendar Update Feeds workflow activity to
|
- fix: Bug that did not allow Calendar Update Feeds workflow activity to
|
||||||
complete
|
complete
|
||||||
|
|
|
||||||
|
|
@ -265,7 +265,7 @@ sub setImageHeight {
|
||||||
my $height = shift;
|
my $height = shift;
|
||||||
|
|
||||||
if ($graphicsPackage eq 'Graphics::Magick') {
|
if ($graphicsPackage eq 'Graphics::Magick') {
|
||||||
$self->image->set(size => $self->getImageWidth.'x'.$height);
|
$self->image->Resize(height => $height);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$self->image->Extent(height => $height);
|
$self->image->Extent(height => $height);
|
||||||
|
|
@ -290,7 +290,7 @@ sub setImageWidth {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $width = shift;
|
my $width = shift;
|
||||||
if ($graphicsPackage eq 'Graphics::Magick') {
|
if ($graphicsPackage eq 'Graphics::Magick') {
|
||||||
$self->image->set(size => $width.'x'.$self->getImageHeight);
|
$self->image->Resize(width => $width);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$self->image->Extent(width => $width);
|
$self->image->Extent(width => $width);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue