Bug 182060 - netpbm hasn't been updated to detect the "ms bmp" format
netpbm hasn't been updated to detect the "ms bmp" format
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: netpbm (Show other bugs)
5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-19 19:45 EST by Dimitris
Modified: 2013-07-02 19:14 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-04-18 08:25:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to fix detection of BMP files (325 bytes, patch)
2006-02-19 19:45 EST, Dimitris
no flags Details | Diff

  None (edit)
Description Dimitris 2006-02-19 19:45:46 EST
Description of problem:

the commmand line tool "anytopnm" uses the "file" command to detect types of
files. The "file" command at some point was changed to distinguish between "BMP"
and "MS BMP" file formats.

the commmand line tool "anytopnm" isn't prepared for the "MS BMP" string that
"file" returns, thus it terminates with an unknown file type error.

the anytopnm script needs to be updated in order to expect both "BMP" and "MS
BMP" strings as returned by "file" since it supports both types of bitmaps.


Version-Release number of selected component (if applicable):

netpbm-10.31-1.FC4.2


How reproducible:

always

Steps to Reproduce:
1. create an image in Microsoft Paint (Windows XP), save it to BMP
2. try to use anytopnm to convert the resulting BMP

  
Actual results:

anytopnm fails


Expected results:

anytopnm should convert the file, since it supports the format.


Additional info:

patch attached.
Comment 1 Dimitris 2006-02-19 19:45:46 EST
Created attachment 124872 [details]
patch to fix detection of BMP files
Comment 2 Jindrich Novy 2006-02-20 07:48:19 EST
It's now fixed since netpbm-10.31-5 in devel. An update will be pushed when more
fixes are gathered. Thanks.
Comment 3 Dimitris 2006-02-21 08:44:11 EST
Thank you, much appriciated.
Comment 4 Dimitris 2006-04-06 17:59:23 EDT
Problem exists in Fedora Core 5:

netpbm-10.31-4
netpbm-progs-10.31-4
Comment 5 Jindrich Novy 2006-04-18 08:25:09 EDT
It's now resolved by netpbm-10.33.
Comment 6 Dimitris 2006-04-18 08:39:51 EDT
Indeed, thank you for the help, much appriciated.

Note You need to log in before you can comment on or make changes to this bug.