Skip to content

Float64->UInt8 unexpectedly get affected in v0.7.0 #164

Description

@johnnychen94

Any ideas of how the results are changed upgrading from v0.6.1 to v0.7.0? I'll check that later if nobody does... (Catching a cold now and my mind goes blank...)

Here is the minimal codes I can provide so far:

using ImageCore, TestImages, SHA
img = RGB{Float64}.(testimage("lena_color_256"))
img_str = bytes2hex(sha256(reinterpret(UInt8, vec(rawview(channelview(img))))))
# 0.6.1
24d5be33008cdfbc38845b2e5929b90db693ac203f9bf0fea76e39d45746f798
# 0.7.0
39869ae780dc1242d3e223a83b8ddadd868c1503b65de44dc5e5e5b2022da9cd

c.f. JuliaTesting/ReferenceTests.jl#46

Activity

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

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