in reply to Gif image corrupted
I don't have the GD gif that you start with, but my guess from looking at the code, is that you are giving the wrong dimensional information in your $photo_file1 options. This is consistent with your Chatterbox description that if you resize the image, the distortion is less. Use the following code to get the real height and width of your GD produced gif.
I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
P.S. Also, please put a problem description in your original question, so others who didn't see the Chatterbox stuff, will know what your problem is.#!/usr/bin/perl use warnings; use strict; use GD; my $image = GD::Image->newFromJpeg("frontpage.jpg"); my ($width,$height) = $image->getBounds(); print "width->$width\nheight->$height\n"; exit;
I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
|
---|
In Section
Seekers of Perl Wisdom