看板 Perl 關於我們 聯絡資訊
請問在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 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 123.192.136.152 ※ 文章網址: https://www.ptt.cc/bbs/Perl/M.1495217074.A.BBC.html