You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make it easy to have multiple images in a directory and switch between them in the GUI
Not save images in the r.Rdata files
Read TIFF as well as PNG files
This could be achieved by:
Modifying read.image() to read information about images in the directory. It would throw an error if all images do not have the same dimensions, and it would return a list of image file names, and the common dimensions.
Store the dimensions in the Outline object
Only load images at the time of rendering. The Outline function getImage() could be modified to take an argument (image file name), defaulting to the first in alphabetical order. This would then load the image, cache it in Outline$im and proceed as now. A record of the cached image name would be kept in the Outline object.
Ideally point (1) requires some code to read image metadata without reading the whole image.
The text was updated successfully, but these errors were encountered:
The R magick package looks like it would provide the code for (1), and would also read various formats of image file: https://cran.r-project.org/web/packages/magick/index.html
It does require Linux and Mac users to install the imagemagick libraries, but there are instructions on how to do this.
The aim of this proposal are:
This could be achieved by:
Ideally point (1) requires some code to read image metadata without reading the whole image.
The text was updated successfully, but these errors were encountered: