Opened 10 years ago

Closed 10 years ago

#5045 closed bug (fixed)

PCX: missing filetype

Reported by: michaelvoliveira Owned by: axeld
Priority: normal Milestone: R1/alpha2
Component: Kits/Translation Kit Version: R1/alpha1
Keywords: pcx translator Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

PCX translator is present, but the PCX filetype have to be added manually

Attachments (1)

pcx-mime.diff (590 bytes ) - added by humdinger 10 years ago.
patch for image/x-pcx mime type

Download all attachments as: .zip

Change History (4)

by humdinger, 10 years ago

Attachment: pcx-mime.diff added

patch for image/x-pcx mime type

comment:1 by humdinger, 10 years ago

I attached a patch. According to the file format info the first byte should always be 0x0a. I have no experience with sniffer rules, but it did work for me. Is the "1.0 (0x0a)" correct?

comment:2 by axeld, 10 years ago

Status: newassigned

The sniffer rule is way too weak to give it a priority of 1.0. Looking at our PCX translator, it only supports version 5, anyway, so that could be made part of the rule as well.

comment:3 by axeld, 10 years ago

Resolution: fixed
Status: assignedclosed

Added type with an improved sniffer rule in hrev34301.

Note: See TracTickets for help on using tickets.