JuliaTesting / ReferenceTests.jl

Utility package for comparing data against reference files
https://juliatesting.github.io/ReferenceTests.jl/latest/
Other
82 stars 14 forks source link

ImageIO needed? #99

Closed mauro3 closed 2 years ago

mauro3 commented 2 years ago

Trying to run the image-example get this:

julia> using ReferenceTests, TestImages

julia> @test_reference "camera.txt" testimage("cameraman") size=(5,10)
Errors encountered while load FileIO.File{FileIO.DataFormat{:TIFF}, String}("/home/mauro/.julia/artifacts/e752bdc739f34d02e79c7fa834bc2f2e0d71c7e0/cameraman.tif").
All errors:
===========================================
ArgumentError: Package ImageIO [82e4d734-157c-48bb-816b-45c225c6df19] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

===========================================
ArgumentError: Package ImageMagick [6218d12a-5da1-5696-b52f-db25d2ecc6d1] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

===========================================

Fatal error:
ERROR: ArgumentError: Package ImageIO [82e4d734-157c-48bb-816b-45c225c6df19] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.
johnnychen94 commented 2 years ago

Yes, because FileIO doesn't have any actual loading backends, we need to manually install them.