-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading JPEG image with ImageMagick becomes very slow in Julia 1.7 #992
Comments
Looks like it's an ImageMagick issue and is specific to ImageMagick. (@v1.7) pkg> activate --temp
(jl_LojMuo) pkg> add ImageMagick TestImages
julia> using TestImages, ImageMagick
julia> file = testimage("earth_apollo17"; download_only=true)
"/Users/jc/.julia/artifacts/e752bdc739f34d02e79c7fa834bc2f2e0d71c7e0/earth_apollo17.jpg"
julia> @time ImageMagick.load(file);
4.090564 seconds (110.18 M allocations: 3.807 GiB, 9.25% gc time, 13.21% compilation time) QuartzImageIO on macOS works "normally" here: julia> using QuartzImageIO
julia> @time QuartzImageIO.load(file);
0.468937 seconds (61 allocations: 68.716 MiB, 5.63% gc time) So we need someone with the expertise to bring a Julia wrapper for JpegTurbo; I'm interested in this but I don't have much free time until Feb.. I'm moving this to Images so that more people notice this issue. |
This would probably be a good starter https://github.com/stevengj/JpegTurbo.jl |
The last step now: JuliaRegistries/General#53821 |
Closing this as JpegTurbo.jl is now available in ImageIO v0.6.1 |
Hello,
I've noticed a huge slowdown during image loading this morning, after migrating to julia 1.7.0.
Before:
After:
The image weights ~30Mo.
Clearly, there's something wrong with the allocation. But what/why?
Thanks,
NB: It's the first time I'm posting an issue. Sorry if it's the wrong place. (Should it be in julia repo?)
The text was updated successfully, but these errors were encountered: