![]() I have tried this in IE, Edge, and Chrome. I highly doubt this client will allow third party drill-in, but if it comes down to the wire, who knows what goes? I very much appreciate your second set of eyes on this. ![]() If your urgency warrants that over lots of back and forth here, you can learn more about my services (rates, approach, satisfaction guarantee, and more) at /consulting.Īs always, thank you. Or more simply, have you tried the request from multiple browsers types, or from different machines?īTW, I do those shared desktop sessions myself as consultant, troubleshooting such errors (cf and related) every day. I suspect the answer could be right there. Then choose the "network" tab among those shown in the tool.) This would allow you to see the communication to/from the server, in terms of status codes, headers, and content. Typically you can right click on whitespace of your page and choose "inspect". Do you at least request the url in a browser?Īnd if so, have you viewed the request with the dev tools feature of your browser? (This is available in all browsers. ![]() So first, you seem unsure if it IS your browser or acrobat. Now that we know it's on your client end (whether browser, or acrobat, or an acrobat plugin in your browser), that changes where to focus. It sounded from the outset like you were saying the error was in the cfcontent, and so was a CF error, in which case it begged the question how cffile would work and cfcontent would not-thus my previous questions. but if I try to read and display a PDF on my shared directory, it tells me the file is missing or corrupt and will not display it. I can use the following code pair to view PDF's on another project's share with no issue, PDF pops right up. I put a GIF in place and displayed it easily. I put a text file in the directory, and I can pull that up with: I can use CFDIRECTORY to list the contents of the directory, and I can use FileExists and CFFILE to test and grab a copy of the file, no sweat. I can use Windows Explorer to navigate to that drive and bring up any PDF file with ease - double click, view in Acrobat, no problem. It provides fast and easy read and write access to the Exif, IPTC and XMP metadata and the ICC Profile embedded within digital images in various formats.I have a cloud share drive recently assigned to my project, and I was able to copy a number of PDF files into it. (I find this approach to be superior than adding lots of hidden XML to webpages where the photos are displayed.)Įxiv is a Cross-platform C++ library and a command line utility to manage image metadata. We use ExifTool to embed copyright information into images for the automatic display of the license information whenever thumbnails are displayed via Google Photos. WRITING METADATA: If you need to write EXIF, IPTC, XMP or IPTC metadata to an image, I highly recommend using ExifTool. Dates are also outputted as valid yyyy-mm-dd hh:mm:ss dates rather than non-normalized yyyy:mm:dd HH:mm:ss format. I've also ensured that the keys generated by the UDF are CF-variable-compatible (ie, isValid("variablename")) for easy reuse and/or direct output to an API. The BIF's GPS data is also only returned in a sexagesimal display format rather than a useful decimal format. Performance: This Exiv2 UDF takes 40-135ms to return everything (exif, IPTC, XMP metadata & ICC profile) whereas ImageGetEXIFMetaData takes 280-340ms to return only exif data. I also prefer it because Adobe has historically changed what some functions return (may be a bug, may be intentional, who really knows), whereas I haven't really encountered this issue when using portable command-line apps. The result has been faster performance, higher quality results (data or display-wise) and the ability to perform tasks offline and/or concurrently. Sometimes the metadata you want is accessible as IPTC, XMP metadata or ICC Profile.ĭisclaimer: I stopped using many BIFs years ago in favor of dropping down to the command line and either using CFExecute or CFX_Exec to run apps like WKHTMLTOPDF (for PDF generation) and GraphicsMagick (for image manipulation). The BIF only returns Exif data which explains the extremely specific function name. I've been down that road before and have found the built-in function (BIF) ImageGetEXIFMetaData to be both non-performant and lacking when it comes to retrieving image metadata. Someone in the Adobe ColdFusion Forum recently inquired how to "use ImageGetEXIFMetaData to try to get gps coordinates of an image". I mentioned Exiv2 on a blog post from 2 years ago regarding Supporting ColdFusion with Command Line Programs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |