PNGFiles.jl icon indicating copy to clipboard operation
PNGFiles.jl copied to clipboard

FileIO.jl integration for PNG files

Results 7 PNGFiles.jl issues
Sort by recently updated
recently updated
newest added

Bumps [julia-actions/cache](https://github.com/julia-actions/cache) from 1 to 2. Release notes Sourced from julia-actions/cache's releases. v2.0.0 Breaking Changes ⚠️ v2.0.0 requires node20. This is a breaking change, because node20 does not support the...

dependencies

```julia using Colors, Downloads, PNGFiles img = PNGFiles.load(Downloads.download("https://raw.githubusercontent.com/guo-yong-zhi/WordCloud.jl/master/res/heart_mask.png")) # img = img |> collect # this line is the key. Cancel the comment and the error will disappear @show typeof(img)...

```julia using PNGFiles, Colors, FileIO PNGFiles.save("中文.png", rand(Gray, 100, 100)) img = PNGFiles.load("中文.png") save("中文.jpg", rand(Gray, 100, 100)) ``` ![image](https://user-images.githubusercontent.com/55872791/232068162-4c46eee2-2117-4515-b8fc-bc0a773ccc8c.png) The jpg file name is right, but the png file name is...

I have a simple server that just serves up a raw PNG file any client that connects. In Julia I wrote the following function to attempt to load that image....

Per https://discourse.julialang.org/t/reading-png-rgb-channels-julia-vs-python/73599. Reproducer at https://github.com/t-bltg/PngPixel.jl. Xref: https://github.com/JuliaIO/ImageIO.jl/issues/41#issuecomment-1000938757, @johnnychen94. For reference, the image used here is a scaled version of [toucan.png](https://raw.githubusercontent.com/JuliaImages/TestImages.jl/images/images/toucan.png) from [TestImages.jl](https://testimages.juliaimages.org/stable): `$ convert toucan.png -scale 5% img.png`. Tested with...

Currently, when processing paletted images, we first prepare a palette color buffer of maximum size (`PNG_MAX_PALETTE_LENGTH`, 256), then we query the file to populate the buffer and finally we resize...

help wanted

I just added a benchmark script at https://github.com/JuliaIO/PNG.jl/blob/master/benchmarking/benchmark.jl Looks like QuartzImageIO >> PNG > ImageMagick overall, but PNG is fastest to load All of this is before @drvi's https://github.com/ianshmean/ImageIO.jl/pull/3 which...