[Haskell-beginners] hsmagic & core dump

Sergey Bushnyak sergey.bushnyak at sigrlami.eu
Wed Jan 9 10:51:20 CET 2013


Trying to work with images via hsmagic package, use something like this

scaleTest :: FilePath -> IO()
scaleTest dst = do
                initializeMagick
                image <- readImage dst
                let image' =  scaleImage 450 450 image
                writeImage dst image'

but get core dump, when compiling. Types are ok, and path are valid, can 
it be problem of os or I'm doing something wrong?



More information about the Beginners mailing list