1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 <2019> 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Problem with ADURL reading .jpg image from server |
From: | "Wlodek, Jakub via Tech-talk" <[email protected]> |
To: | Mark Rivers <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Wed, 31 Jul 2019 15:25:28 +0000 |
Hi Mark,
The url we are using does actually have the .jpg extention:
http://xf28ida-vsrv01.cs.nsls2.local/jpg/1/image.jpg
I can also confirm that running wget on the same url does result in a .jpg file on the local machine, which can then be read
by the IOC without issue.
When I enter the url into a web browser it also recognizes it as a jpeg file and displays its dimensions in the title bar.
When I press 'Acquire' to start image acquisition the IOC freezes for some time, and then goes back into the done state after
printing the error message.
Thanks for the quick response,
Jakub Wlodek
From: Mark Rivers <[email protected]>
Sent: Wednesday, July 31, 2019 11:19 AM To: Wlodek, Jakub <[email protected]> Cc: [email protected] <[email protected]> Subject: Re: Problem with ADURL reading .jpg image from server Hi Jakob,
I believe that GraphicsMagick uses the file extension to determine the format. It looks like URL does not have a .jpg extension? Mark Sent from my iPhone On Jul 31, 2019, at 8:56 AM, Wlodek, Jakub via Tech-talk <[email protected]<mailto:[email protected]>> wrote: Hi all, I have been working with the ADURL driver to set up an IOC for an analog camera here at NSLS2. I have the IOC set up and running, and I can read .jpg files without issue locally on the ioc server. However, when I enter the URL for the image coming from the camera, the driver does not get images, and when I stop acquisition, I get the following error message: ------------------------ 10:48:39 74:30 39.180u 3390 constitute.c/GmReadImage/1535/MissingDelegate: No decode delegate for this image format (/tmp/gmmxs23m) 2019/07/31 10:48:39.033 URLDriver:readImage: error reading URL="" No decode delegate for this image format (/tmp/gmmxs23m) reported by ../constitute.c:1535 (GmReadImage) ------------------------ I tested putting the url I gave the IOC into a web browser and it correctly opened a jpeg image. I also downloaded said image to the local machine and pointed at it: /home/jwlodek/image.jpg, and the ADURL IOC processed it without issue. My guess is that when reading the url from the server the ADURL driver is not actually seeing a .jpg file, which is causing it to say that there doesn't exist a decode format for it. Has anyone else ran into this issue before, and if so would you be able to share the solution? Regards, Jakub Wlodek |