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
I am trying to calculate hash values for JPG images, but OpenImageR::readImage is case sensitive and returns an error: supported image types are .png, .jpeg, .jpg, .tiff (or .tif, .TIFF, .TIF)
I understand that modifying the file extension would work, but perhaps the readImage() function could simply ignore case sensitive in the exception for the supported image types. For example:
if (isTRUE(grepl(x=flag_type, pattern= c("jpeg|jpg"), ignore.case=TRUE))){
img=jpeg::readJPEG(path)
}
System: R 4.2.2 on x86_64-pc-linux-gnu. OpenImageR_1.2.7 and jpeg_0.1-10.
Thanks for the great work.
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to calculate hash values for JPG images, but
OpenImageR::readImage
is case sensitive and returns an error: supported image types are .png, .jpeg, .jpg, .tiff (or .tif, .TIFF, .TIF)I understand that modifying the file extension would work, but perhaps the
readImage()
function could simply ignore case sensitive in the exception for the supported image types. For example:System: R 4.2.2 on x86_64-pc-linux-gnu. OpenImageR_1.2.7 and jpeg_0.1-10.
Thanks for the great work.
The text was updated successfully, but these errors were encountered: