Last active
August 24, 2021 10:00
-
-
Save timwaters/94a0302387070ec38c17c2f5959bd27c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Command :: file -b --mime '/tmp/open-uri20210824-23328-1wi4hvl' | |
Command :: file -b --mime '/tmp/2204e09a8b21005d77d231dab56449b820210824-23328-1nydzj7.jpg' | |
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/2204e09a8b21005d77d231dab56449b820210824-23328-c2g95v.jpg[0]' 2>/dev/null | |
[paperclip] An error was received while processing: #<Paperclip::Errors::NotIdentifiedByImageMagickError: Paperclip::Errors::NotIdentifiedByImageMagickError> | |
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/2204e09a8b21005d77d231dab56449b820210824-23328-c2g95v.jpg[0]' 2>/dev/null | |
Paperclip::Errors::NotIdentifiedByImageMagickError: Paperclip::Errors::NotIdentifiedByImageMagickError | |
from /usr/local/rvm/gems/ruby-2.4.0@rails4/gems/paperclip-4.2.4/lib/paperclip/geometry_detector_factory.rb:10:in `make' | |
from /usr/local/rvm/gems/ruby-2.4.0@rails4/gems/paperclip-4.2.4/lib/paperclip/geometry.rb:26:in `from_file' | |
from /var/www/apps/wikimapswarper/mapwarper/app/models/map.rb:148:in `save_dimensions' | |
gdalinfo Lambton1.jpg | |
Driver: JPEG/JPEG JFIF | |
Files: Lambton1.jpg | |
Size is 22656, 14752 | |
Coordinate System is `' | |
Metadata: | |
EXIF_ColorSpace=1 | |
EXIF_DateTime=2021:07:28 17:47:44 | |
EXIF_Orientation=1 | |
EXIF_PixelXDimension=23715 | |
EXIF_PixelYDimension=16160 | |
EXIF_ResolutionUnit=2 | |
EXIF_Software=GIMP 2.10.24 | |
EXIF_XResolution=(300) | |
EXIF_YResolution=(300) | |
Image Structure Metadata: | |
COMPRESSION=JPEG | |
INTERLEAVE=PIXEL | |
SOURCE_COLOR_SPACE=YCbCr | |
Corner Coordinates: | |
Upper Left ( 0.0, 0.0) | |
Lower Left ( 0.0,14752.0) | |
Upper Right (22656.0, 0.0) | |
Lower Right (22656.0,14752.0) | |
Center (11328.0, 7376.0) | |
Band 1 Block=22656x1 Type=Byte, ColorInterp=Red | |
Overviews: 11328x7376, 5664x3688, 2832x1844 | |
Image Structure Metadata: | |
COMPRESSION=JPEG | |
Band 2 Block=22656x1 Type=Byte, ColorInterp=Green | |
Overviews: 11328x7376, 5664x3688, 2832x1844 | |
Image Structure Metadata: | |
COMPRESSION=JPEG | |
Band 3 Block=22656x1 Type=Byte, ColorInterp=Blue | |
Overviews: 11328x7376, 5664x3688, 2832x1844 | |
Image Structure Metadata: | |
COMPRESSION=JPEG | |
identify -format '%wx%h,%[exif:orientation]' Lambton1.jpg | |
22656x14752,1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment