作者:
dk1120 (Jason7123)
2017-05-20 02:04:32請問在Debian下我參照了Image::BMP這一個模組的範例:
use Image::BMP;
# Example two:
my $img2 = new Image::BMP;
$img2->open_file('another.bmp');
my $color = $img2->xy(100,100); # Get pixel at 100,100
my ($r,$g,$b) = $img2->xy_rgb(100,200);
老是出現無法讀取由BITMAPV5HEADE所產生的 another.bmp,這圖檔到底要如何產生?
[Image::BMP] ERROR: Sorry, can't read bitmaps written with BITMAPV5HEADE
我所適用的用戶端是MAC,由GIMP產生another.bmp