Very (and I mean VERY) new to R and I was wondering if there was a way to automate a task I'm trying to achieve. I've read online that the Magick and Imager packages can possibly help me.
I'm trying to obtain image file data (file size, number of pixels, etc.) on a number of images held in a folder, to arrange them into a csv file, where I'll be performing some calculations on them. They are all .jpg files.
I'm really not sure if anyone is able to help me, like I said, I'm pretty new to R so I have no idea where to start. I've installed both imager and magick and have tried a few things that were posted on past posts, but nothing seems to be working/achieving what I want.
I'm trying to use the magick library to load all images into R studio so that I can get a matrix of the data I need for each image. For each image, I would like to have something similar to this:
## format width height colorspace matte filesize density ## 1 PNG 350 350 sRGB TRUE 0 72x72