Skip to content

Skip to the image offset instead of firing an exception#10

Open
Schmidor wants to merge 1 commit intoimcdonagh:masterfrom
Schmidor:skip_to_offset
Open

Skip to the image offset instead of firing an exception#10
Schmidor wants to merge 1 commit intoimcdonagh:masterfrom
Schmidor:skip_to_offset

Conversation

@Schmidor
Copy link
Copy Markdown

If the layer offset is higher than the current byte cound an exception is thrown.
I've got some ICOs which could be displayed flawless by others, but fail because they have only 6 layers, but contain place for 8 layers in the header before the first layer begins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant