Solved

cfx_image on linux

Posted on 2004-04-22
6
567 Views
Last Modified: 2013-12-24
I have a library of CF Apps I need to migrate from Windows to Linux and I use CFX_IMAGE in several spots to show image dimensions and file size.  Because this is a dll will is still work on Linux?  If not, is there something else I can use to grab image dimensions and file size in CF on Linux?

Thanks!
0
Comment
Question by:claydough
6 Comments
 
LVL 35

Expert Comment

by:mrichmon
ID: 10891670
I'm pretty sure you would need to find a Linux version.

This thread may help : http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=28984&forumid=4
offer a solution or you can Google for something that meets your needs

0
 
LVL 17

Expert Comment

by:anandkp
ID: 10891731
I doubt u wld find lnux version - as i had a talk with the creator of this tag & he mentioned they dont have linux version of it YET ! ...

Alternative : U'll need to write a java class file that does the image resizing for u & proceed with that ...
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10892018
Yeah cfx_image is only windows, but there is a lot of interest for a linux version out there and so I bet there may be something out there that does what you want - just when you do a search look for the features you want and not "cfx_image" and be sure to include "Linux" in the search
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 1

Expert Comment

by:Sapphireblue
ID: 10892266
I have had success using <a href="http://www.imagemagick.org/">ImageMagick</a>, called from CF via CFEXECUTE. ImageMagick IDENTIFY will provide both filesize  & dimensions.
0
 

Author Comment

by:claydough
ID: 10899964
Sapphireblue,

Can you give me a cfexecute example of how you use ImakeMagick?  Thanks
0
 
LVL 1

Accepted Solution

by:
Sapphireblue earned 250 total points
ID: 10900243
Documentation on ImageMagick IDENTIFY is at http://imagemagick.org/www/identify.html .

To get filesize you might do something like this:

<CFEXECUTE NAME='PathToImageMagick/identify' ARGUMENTS='-format "%b" myimagename.gif'></CFEXECUTE>

For width x height, something like this:

<CFEXECUTE NAME='PathToImageMagick/identify' ARGUMENTS='-format "%w x %h" myimagename.gif'></CFEXECUTE>
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question