Solved

Call a JAVA Class From ColdFusion to Convert JPG to SWF

Posted on 2003-10-28
2
572 Views
Last Modified: 2013-12-24
Got this JAVA class http://www.orgdot.com/javaopensource/JpegToSwf.java from this question http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_20778800.html  I'm just starting out with Cold Fusion, know basic design layout coding, if I can figure this one out with your help, it would be a huge step for me.  Can someone show me an example of how to  call the jpgtoswf java class with cold fusion to convert a jpg to swf.  Any help would greatly be appreciated and 500 points to the expert with the solution.
0
Comment
Question by:madasczik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 11

Accepted Solution

by:
hart earned 500 total points
ID: 9639374
call java class like this

<CFOBJECT ACTION="CREATE" TYPE="Java" CLASS="ImageDimensions" NAME="ImageObj">

<CFSET THUMBNAIL = ImageObj.setImage("#PHOTONAME#")>

now the thumbnail variable will have the dimensions of the image.


Thats it basically. :-)

NB: do remember to set the path of the class in the cf administrator

go to server settings > Java and JVM
and in the class path text box give the physical path of the java class file. [where ver u have kept it on the server]

Regards
Hart

0
 
LVL 11

Expert Comment

by:hart
ID: 9737223
but why the B ??
if my answer was not appropriate enough
then u could have asked what ever doubts u had

anywayz just wanted to know why a grade B was given

Regards
Hart
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

617 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