bitemyapp / bitemyapp/flightcrew

Warn when image type conflicts with reported media type

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated
Dominant language
C++
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
Currently, flightcrew reports when a file extension disagrees with the reported
media-type in the OPF file. (error 1107, or ERROR_OPF_BAD_ITEM_MEDIA_TYPE_VALUE)

Sometimes, even the file name is wrong. I encountered an ePub file that had an
image.jpg with the media-type of 'image/jpeg' that was actually a PNG.

This prevented the Sony Reader from displaying the image.

The error was correctly caught by the latest EpubCheck. Flightcrew should have
the same test.
```

Original issue reported on code.google.com by `saltyho...@gmail.com` on 10 Mar 2012 at 10:42

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.