Skip to content

Use EXIF orientation tag when processing JPEG images #4

@denisnazarov

Description

@denisnazarov

Hello, wanted to document a drastic different hamming distance between two identical images of different compression.

compressed.jpg fe7ffefffefffc3cf839f823f81cf818f00ff00ff007e007e003e003c0000000
original.jpg ecfce4fcf2f0fbc0fb00fc00e00060000000e000f000ff00ffe0fffcfffefffe

Using the hamming distance function in blockhash-js, it returns a value of 120.

The images:
https://s3.amazonaws.com/denisnazarov/blockhash/compressed.jpg
https://s3.amazonaws.com/denisnazarov/blockhash/original.jpg

Has this implementation been tested with high resolution images? I can add some failing tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions