I tried removing my copy of imagemagick and reinstalling it through the package manager, and also tried checking out fresh versions of QuartzImageIO
and FileIO
but the final line still causes the following error on a fresh install of Julia 0.5.5 on OS X:
WARNING: ErrorException("C call returned NULL")
in check_null at /Users/yurivish/.julia/v0.5/QuartzImageIO/src/QuartzImageIO.jl:557 [inlined]
in CGImageDestinationCreateWithURL(::Ptr{Void}, ::String, ::Int64, ::Ptr{Void}) at /Users/yurivish/.julia/v0.5/QuartzImageIO/src/QuartzImageIO.jl:567
in save_and_release(::Ptr{Void}, ::String, ::String) at /Users/yurivish/.julia/v0.5/QuartzImageIO/src/QuartzImageIO.jl:239
in save_(::String, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::String) at /Users/yurivish/.julia/v0.5/QuartzImageIO/src/QuartzImageIO.jl:268
in #save#15(::Array{Any,1}, ::Function, ::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/QuartzImageIO/src/QuartzImageIO.jl:45
in save(::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/QuartzImageIO/src/QuartzImageIO.jl:45
in #save#18(::Array{Any,1}, ::Function, ::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:97
in save(::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:91
in #save#14(::Array{Any,1}, ::Function, ::String, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:54
in save(::String, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:54
in include_from_node1(::String) at ./loading.jl:426
in process_options(::Base.JLOptions) at ./client.jl:266
in _start() at ./client.jl:322
Trying next loading library! Please report this issue on the Github page for QuartzImageIO
WARNING: bytestring(p::Union{Ptr{Int8},Ptr{UInt8}}) is deprecated, use unsafe_string(p) instead.
in depwarn(::String, ::Symbol) at ./deprecated.jl:64
in bytestring(::Ptr{UInt8}) at ./deprecated.jl:50
in error(::ImageMagick.MagickWand) at /Users/yurivish/.julia/v0.5/ImageMagick/src/libmagickwand.jl:150
in writeimage(::ImageMagick.MagickWand, ::String) at /Users/yurivish/.julia/v0.5/ImageMagick/src/libmagickwand.jl:249
in save_(::String, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/ImageMagick/src/ImageMagick.jl:158
in #save#5(::Array{Any,1}, ::Function, ::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/ImageMagick/src/ImageMagick.jl:68
in save(::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/ImageMagick/src/ImageMagick.jl:68
in #save#18(::Array{Any,1}, ::Function, ::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:97
in save(::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:91
in #save#14(::Array{Any,1}, ::Function, ::String, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:54
in save(::String, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:54
in include_from_node1(::String) at ./loading.jl:426
in process_options(::Base.JLOptions) at ./client.jl:266
in _start() at ./client.jl:322
while loading /Users/yurivish/Dropbox/packing.jl, in expression starting on line 91
WARNING: ErrorException("no encode delegate for this image format `MIFF' @ error/constitute.c/WriteImage/1167")
in error(::ImageMagick.MagickWand) at /Users/yurivish/.julia/v0.5/ImageMagick/src/libmagickwand.jl:152
in writeimage(::ImageMagick.MagickWand, ::String) at /Users/yurivish/.julia/v0.5/ImageMagick/src/libmagickwand.jl:249
in save_(::String, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/ImageMagick/src/ImageMagick.jl:158
in #save#5(::Array{Any,1}, ::Function, ::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/ImageMagick/src/ImageMagick.jl:68
in save(::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/ImageMagick/src/ImageMagick.jl:68
in #save#18(::Array{Any,1}, ::Function, ::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:97
in save(::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:91
in #save#14(::Array{Any,1}, ::Function, ::String, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:54
in save(::String, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:54
in include_from_node1(::String) at ./loading.jl:426
in process_options(::Base.JLOptions) at ./client.jl:266
in _start() at ./client.jl:322
ERROR: LoadError: C call returned NULL
in error(::ImageMagick.MagickWand) at /Users/yurivish/.julia/v0.5/ImageMagick/src/libmagickwand.jl:152
in writeimage(::ImageMagick.MagickWand, ::String) at /Users/yurivish/.julia/v0.5/ImageMagick/src/libmagickwand.jl:249
in save_(::String, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/ImageMagick/src/ImageMagick.jl:158
in #save#5(::Array{Any,1}, ::Function, ::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/ImageMagick/src/ImageMagick.jl:68
in save(::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/ImageMagick/src/ImageMagick.jl:68
in #save#18(::Array{Any,1}, ::Function, ::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:97
in save(::FileIO.File{FileIO.DataFormat{:PNG}}, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:91
in #save#14(::Array{Any,1}, ::Function, ::String, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}, ::Vararg{Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}},N}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:54
in save(::String, ::Images.Image{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2,Array{ColorTypes.RGB{FixedPointNumbers.UFixed{UInt8,8}},2}}) at /Users/yurivish/.julia/v0.5/FileIO/src/loadsave.jl:54
in include_from_node1(::String) at ./loading.jl:426
in process_options(::Base.JLOptions) at ./client.jl:266
in _start() at ./client.jl:322
while loading /Users/yurivish/Dropbox/packing.jl, in expression starting on line 91
[Finished in 3.6s with exit code 1]