Explicit file format not working for HTTP input
Posted: 2019-08-23T08:56:06-07:00
Original thread: https://imagemagick.org/discourse-serve ... 6&p=168206
Explicitly specifying the input file format doesn't seem to work for http sources. See examples (and different syntax attempts) below.
Originally I discovered this with DNG and AI files but for simplicity I used a jpg input file in this sample:
Then I thought maybe the placement of the "jpg:" in front of the URL is wrong and maybe it must be within the URL in front of the filename:
Still no success but at least the file can be found now. Removing -verbose from the equation results in this:
With these two samples I had the same results:
https://bitmovin-poc-input.s3-eu-west-1 ... N_1DM2.dng
https://bitmovin-poc-input.s3-eu-west-1 ... bindung.ai
Explicitly specifying the input file format doesn't seem to work for http sources. See examples (and different syntax attempts) below.
Originally I discovered this with DNG and AI files but for simplicity I used a jpg input file in this sample:
Code: Select all
identify -verbose jpg:https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/ingest/jpegadobergb.jpg
identify: unable to open image 'https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/ingest/jpegadobergb.jpg': No such file or directory @ error/blob.c/OpenBlob/3497.
Code: Select all
identify -verbose https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/ingest/jpg:jpegadobergb.jpg
identify: must specify image size `/var/folders/wm/m3m6tf1s5sx8bw52dhk7c4nxkkhfhv/T/magick-53833Z6yD6gIQ3r1E' @ error/mvg.c/ReadMVGImage/186.
Code: Select all
identify https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/ingest/jpg:jpegadobergb.jpg
https://bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/ingest/jpg:jpegadobergb.jpg=>//bitmovin-poc-input.s3-eu-west-1.amazonaws.com/xx_images/ingest/jpg:jpegadobergb.jpg SVG 0x0 16-bit sRGB 243B 0.010u 0:00.010
https://bitmovin-poc-input.s3-eu-west-1 ... N_1DM2.dng
https://bitmovin-poc-input.s3-eu-west-1 ... bindung.ai