@@ -4,19 +4,48 @@ include("../utilities/prelude.jl")
44 @test QuartoNotebookRunner. png_image_metadata (
55 read (joinpath (@__DIR__ , " .." , " assets" , " 10x15.png" )),
66 ) == (; width = 10 , height = 15 )
7+ @test QuartoNotebookRunner. png_image_metadata (
8+ read (joinpath (@__DIR__ , " .." , " assets" , " 10x15.png" ));
9+ phys_correction = false ,
10+ ) == (; width = 10 , height = 15 )
11+
712 @test QuartoNotebookRunner. png_image_metadata (
813 read (joinpath (@__DIR__ , " .." , " assets" , " 15x10.png" )),
914 ) == (; width = 15 , height = 10 )
15+ @test QuartoNotebookRunner. png_image_metadata (
16+ read (joinpath (@__DIR__ , " .." , " assets" , " 15x10.png" ));
17+ phys_correction = false ,
18+ ) == (; width = 15 , height = 10 )
19+
1020 @test QuartoNotebookRunner. png_image_metadata (
1121 read (joinpath (@__DIR__ , " .." , " assets" , " black_no_dpi.png" )),
1222 ) == (; width = 100 , height = 100 )
23+ @test QuartoNotebookRunner. png_image_metadata (
24+ read (joinpath (@__DIR__ , " .." , " assets" , " black_no_dpi.png" ));
25+ phys_correction = false ,
26+ ) == (; width = 100 , height = 100 )
27+
1328 @test QuartoNotebookRunner. png_image_metadata (
1429 read (joinpath (@__DIR__ , " .." , " assets" , " black_96_dpi.png" )),
1530 ) == (; width = 100 , height = 100 )
31+ @test QuartoNotebookRunner. png_image_metadata (
32+ read (joinpath (@__DIR__ , " .." , " assets" , " black_96_dpi.png" ));
33+ phys_correction = false ,
34+ ) == (; width = 100 , height = 100 )
35+
1636 @test QuartoNotebookRunner. png_image_metadata (
1737 read (joinpath (@__DIR__ , " .." , " assets" , " black_300_dpi.png" )),
1838 ) == (; width = 32 , height = 32 )
39+ @test QuartoNotebookRunner. png_image_metadata (
40+ read (joinpath (@__DIR__ , " .." , " assets" , " black_300_dpi.png" ));
41+ phys_correction = false ,
42+ ) == (; width = 100 , height = 100 )
43+
1944 @test QuartoNotebookRunner. png_image_metadata (
2045 read (joinpath (@__DIR__ , " .." , " assets" , " black_600_dpi.png" )),
2146 ) == (; width = 16 , height = 16 )
47+ @test QuartoNotebookRunner. png_image_metadata (
48+ read (joinpath (@__DIR__ , " .." , " assets" , " black_600_dpi.png" ));
49+ phys_correction = false ,
50+ ) == (; width = 100 , height = 100 )
2251end
0 commit comments