Extracting images and saving as separate .jpg AAX

Hello,
I have Acrobat X Standard and I would like to extract the images (photos) from a .pdf and save the images as separate .jpg's (to insert into another document (.doc)).  I do not have Photoshop available to me.  Is this possible?
Thank you,
Julie

Nevermind.   Copy and paste from Reader worked.  Yet, it wouldn't work in Acrobat.  Whatever.
Julie

Similar Messages

  • Extract image and Features from the Catalog via JAVA API

    Hello,
    I would like to Extract image from the Catalog via JAVA API, Can anybody help on that? I also tried to extract the Features field form the Catalog but results in the error "Features field not found" Any ideas what could have wrong?
    Many thanks,
    Dharmi

    Hello,
    Can anybody tell me where i can find the latest JAVAAPI reference guide? I found the one for MDM 5.5 SP 1 but that also refers to the last parameter of the CatalogCache.Init as int and not string.
    I looked up in service.sap.com/instguides -> SAP Netweaver -> Release 4 -> Installation and there only following 3 files are there for MDM 5.5 SP2
    MDM 5.5 SP02 - Configuration Guide  SAP MDM
    MDM 5.5 SP02 - Installation Guide   SAP MDM
    MDM 5.5 SP02 – ERP-MDM Field Mapping and Check Tables
    Regards,
    Dharmi
    Message was edited by: Dharmi Tanna
    Message was edited by: Dharmi Tanna

  • Acrobat 7 not converting images and saving as .jpg, any ideas?

    I am running Windows XP with MS Word 07. When I copy a photo in Word, open Adobe Acrobat 7 (latest update) and select "File > Create .pdf > From Clipboard Image" all seems to work fine--the photo shows up on the screen within Acrobat. The problem starts when I click "File > Save As > .jpg > Save." I go to the location that I saved the file; however, it isn't there. I changed the folder option in xp to show all hidden files and still nothing. Has any had this problem and or ideas on how to fix? Thank you!

    I did try saving it as a .pdf first and then did a "save as" .jpg. Acrobat seems to run through the process just fine; however, when I go to where the file should be, it's not there. I like using Acrobat for this versus MS Paint because Acrobat seems so much faster. With MS Paint, I find that I have to enter in dimensions to have the .jpg show correctly.

  • Extract image and its file path

    Hi
    Here is my HTML source and i want to extract all <img tag and its file path in comma separated string using javascript or in Java
    <head>
    <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
    <meta name=ProgId content=Word.Document>
    <meta name=Generator content="Microsoft Word 9">
    <meta name=Originator content="Microsoft Word 9">
    <link rel=File-List href="./index_files/filelist.xml">
    <link rel=Edit-Time-Data href="./index_files/editdata.mso">
    <!--[if !mso]>
    <style>
    v\:* {behavior:url(#default#VML);}
    o\:* {behavior:url(#default#VML);}
    w\:* {behavior:url(#default#VML);}
    .shape {behavior:url(#default#VML);}
    </style>
    <![endif]-->
    <title>Untitled Document</title>
    <!--[if gte mso 9]><xml>
    <o:DocumentProperties>
    <o:Author>fsl</o:Author>
    <o:LastAuthor>fsl</o:LastAuthor>
    <o:Revision>19</o:Revision>
    <o:TotalTime>15</o:TotalTime>
    <o:Created>2005-03-22T05:22:00Z</o:Created>
    <o:LastSaved>2005-03-22T06:00:00Z</o:LastSaved>
    <o:Pages>1</o:Pages>
    <o:Words>572</o:Words>
    <o:Characters>3263</o:Characters>
    <o:Company>fsl</o:Company>
    <o:Lines>27</o:Lines>
    <o:Paragraphs>6</o:Paragraphs>
    <o:CharactersWithSpaces>4007</o:CharactersWithSpaces>
    <o:Version>9.3821</o:Version>
    </o:DocumentProperties>
    </xml><![endif]-->
    <style>
    <!--
    /* Font Definitions */
    @font-face
         {font-family:Verdana;
         panose-1:2 11 6 4 3 5 4 4 2 4;
         mso-font-charset:0;
         mso-generic-font-family:swiss;
         mso-font-pitch:variable;
         mso-font-signature:536871559 0 0 0 415 0;}
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
         {mso-style-parent:"";
         margin:0in;
         margin-bottom:.0001pt;
         mso-pagination:widow-orphan;
         font-size:12.0pt;
         font-family:"Times New Roman";
         mso-fareast-font-family:"Times New Roman";
         color:black;}
    a:link, span.MsoHyperlink
         {color:blue;
         text-decoration:underline;
         text-underline:single;}
    a:visited, span.MsoHyperlinkFollowed
         {color:blue;
         text-decoration:underline;
         text-underline:single;}
    @page Section1
         {size:8.5in 11.0in;
         margin:1.0in 1.25in 1.0in 1.25in;
         mso-header-margin:.5in;
         mso-footer-margin:.5in;
         mso-paper-source:0;}
    div.Section1
         {page:Section1;}
    /* List Definitions */
    @list l0
         {mso-list-id:1671522707;
         mso-list-type:hybrid;
         mso-list-template-ids:173077734 -1217256714 -1762734104 -1820561022 223512234 -1498092540 -253197138 -1503254310 -1644162396 -2077876560;}
    @list l0:level1
         {mso-level-number-format:bullet;
         mso-level-text:\F0B7;
         mso-level-tab-stop:.5in;
         mso-level-number-position:left;
         text-indent:-.25in;
         mso-ansi-font-size:10.0pt;
         font-family:Symbol;}
    @list l1
         {mso-list-id:1706909113;
         mso-list-type:hybrid;
         mso-list-template-ids:-1244391706 -178735898 -2037087144 -1764829932 -501428334 -1957922170 -877602540 2125899716 -1534562732 181023898;}
    @list l1:level1
         {mso-level-number-format:bullet;
         mso-level-text:\F0B7;
         mso-level-tab-stop:.5in;
         mso-level-number-position:left;
         text-indent:-.25in;
         mso-ansi-font-size:10.0pt;
         font-family:Symbol;}
    ol
         {margin-bottom:0in;}
    ul
         {margin-bottom:0in;}
    -->
    </style>
    <!--[if gte mso 9]><xml>
    <o:shapedefaults v:ext="edit" spidmax="1027"/>
    </xml><![endif]--><!--[if gte mso 9]><xml>
    <o:shapelayout v:ext="edit">
    <o:idmap v:ext="edit" data="1"/>
    </o:shapelayout></xml><![endif]-->
    </head>
    <body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>
    <div class=Section1>
    <div align=center>
    <table border=0 cellspacing=1 cellpadding=0 width=100 bgcolor="#003399"
    style='width:75.0pt;mso-cellspacing:.7pt;background:#003399;mso-padding-alt:
    0in 0in 0in 0in'>
    <tr>
    <td style='background:white;padding:0in 0in 0in 0in'>
    <div align=center>
    <table border=0 cellspacing=0 cellpadding=0 width=549 style='width:411.75pt;
    mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
    <tr style='height:1.5pt'>
    <td style='padding:0in 0in 0in 0in;height:1.5pt'>
    <p class=MsoNormal align=right style='text-align:right;mso-line-height-alt:
    1.5pt'><img width=247 height=36 id="_x0000_i1025" src="images\fsl.jpg"></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td style='background:#C6EAFD;padding:0in 0in 0in 0in;height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><img width=600
    height=202 id="_x0000_i1026" src="images\banner1.jpg"></p>
    </td>
    </tr>
    <tr>
    <td style='background:#C6EAFD;padding:0in 0in 0in 0in'>
    <table border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;
    mso-cellspacing:0in;mso-padding-alt:1.5pt 1.5pt 1.5pt 1.5pt'>
    <tr style='height:1.5pt'>
    <td width="38%" style='width:38.0%;padding:1.5pt 1.5pt 1.5pt 1.5pt;
    height:1.5pt'>
    <p class=MsoNormal><![if !supportEmptyParas]> <![endif]><span
    style='font-size:2.0pt;mso-bidi-font-size:12.0pt'><o:p></o:p></span></p>
    </td>
    <td width="62%" style='width:62.0%;padding:1.5pt 1.5pt 1.5pt 1.5pt;
    height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><b><span
    style='font-size:10.0pt;font-family:Verdana;color:#FF6600'></span></b></p>
    </td>
    </tr>
    <tr>
    <td colspan=2 style='padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <table border=0 cellspacing=0 cellpadding=0 width="100%"
    style='width:100.0%;mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
    <tr>
    <td width="27%" style='width:27.0%;padding:0in 0in 0in 0in'>
    <p class=MsoNormal> </p>
    </td>
    <td width="73%" style='width:73.0%;padding:0in 0in 0in 0in'>
    <p class=MsoNormal><b><span style='font-size:10.0pt;font-family:Verdana;
    color:#FF6600'></span></b></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    <tr>
    <td colspan=2 style='padding:1.5pt 1.5pt 1.5pt 1.5pt'>
    <table border=0 cellspacing=0 cellpadding=0 width="100%"
    style='width:100.0%;mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
    <tr>
    <td width="15%" style='width:15.0%;padding:0in 0in 0in 0in'>
    <p class=MsoNormal> </p>
    </td>
    <td width="85%" style='width:85.0%;padding:0in 0in 0in 0in'>
    <p class=MsoNormal><b><span style='font-size:10.0pt;font-family:Verdana;
    color:#FF6600'></span></b></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    <tr style='height:21.0pt'>
    <td style='background:white;padding:0in 0in 0in 0in;height:21.0pt'>
    <p class=MsoNormal align=center style='text-align:center'><b><span
    style='font-family:Verdana;mso-bidi-font-family:Arial'></span></b></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td valign=top style='background:white;padding:0in 0in 0in 0in;height:1.5pt'>
    <div align=center>
    <table border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;
    mso-cellspacing:0in;mso-padding-alt:3.0pt 3.0pt 3.0pt 3.0pt'>
    <tr style='height:69.75pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal align=center style='text-align:center'><img width=47
    height=47 id="_x0000_i1027" src="images\1.gif"></p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal><b><i><span style='font-size:13.5pt;color:#FF6600'>  </span></i></b><i><span
    style='font-size:13.5pt;color:#FF6600'>frontline</span></i> <span
    style='font-size:13.5pt;font-family:Arial;color:#33CCCC'>ERP</span><b><span
    style='font-family:Arial;color:#33CCCC'> </span></b></p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal style='text-align:justify'><b><span style='font-size:
    7.5pt;font-family:Verdana'>E</span></b><span style='font-size:7.5pt;
    font-family:Verdana'>nterprise <b>R</b>esource <b>P</b>lanning An ERP system supports the planning of the utilization of the enterprises resources, primarily production, distribution and servicing resources, i.e. inventory, production capacity, logistics capacity, employee work hours, etc.<o:p></o:p></span></p>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    7.5pt;font-family:Verdana'><br>
    The system works in the modular form and provides complete solution for a small to a large enterprise thus caters to their diverse needs from a simple to complex resource planning and management solution.</span></p>
    </td>
    </tr>
    <tr>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    </tr>
    <tr style='height:69.75pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal align=center style='text-align:center'><img width=47
    height=47 id="_x0000_i1028" src="images\2.gif"></p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal><b><i><span style='font-size:13.5pt;color:#FF6600'>  </span></i></b><i><span
    style='font-size:13.5pt;color:#FF6600'>frontline </span></i> <span
    style='font-size:13.5pt;font-family:Arial;color:#33CCCC'>e-Showroom</span><b><span
    style='font-family:Arial;color:#33CCCC'> </span></b></p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal style='text-align:justify'><i><span style='font-size:
    7.5pt;font-family:Verdana'>frontline </span></i><b><span
    style='font-size:7.5pt;font-family:Verdana'></span></b><span
    style='font-size:7.5pt;font-family:Verdana'> has conceptualized, designed and developed B2B and B2C Portals. The portal provides business rules based shopping for bulk consumers, dealers, corporates & customers. Satellite shops could be setup from the portal that could sell selected / all products from the online shopping mall.
    </span></p>
    </td>
    </tr>
    <tr style='height:12.0pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:12.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:12.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:12.0pt'>
    <p class=MsoNormal> </p>
    </td>
    </tr>
    <tr style='height:69.75pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal align=center style='text-align:center'><img width=47
    height=47 id="_x0000_i1029" src="images\3.gif"></p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal><b><i><span style='font-size:13.5pt;color:#FF6600'>  </span></i></b><i><span
    style='font-size:13.5pt;color:#FF6600'>frontline</span></i> <b><span
    style='font-family:Arial;color:#33CCCC'>SFA</span></b></p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:69.75pt'>
    <p class=MsoNormal style='text-align:justify'><b><span style='font-size:
    7.5pt;font-family:Verdana;mso-bidi-font-family:Arial;color:#999999'><o:p></o:p></span></b></p>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    7.5pt;font-family:Verdana'>A Sales Force Automation System
    To organize, manage and improve sales call tracking - helps you SELL more. The most powerful sales force automation system - Automates your company�s sales efforts enabling sales people across the entire sales cycle with contact management, email, fax, SMS and task scheduling.
    frontline SFA helps to make the sales pipeline completely transparent, enabling sales teams to track every lead and follow each deal throughout the sales cycle. It enables the Organization to standardize the sales process and to view, manage and control all the activities & information on a real time basis. <o:p></o:p></span></p>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    7.5pt;font-family:Verdana'><br>
    </span></p>
    </td>
    </tr>
    <tr>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal> </p>
    </td>
    </tr>
    <tr style='height:63.0pt'>
    <td width="9%" style='width:9.52%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:63.0pt'>
    <p class=MsoNormal align=center style='text-align:center'><img width=47
    height=47 id="_x0000_i1042" src="images\4.gif"></p>
    </td>
    <td width="28%" style='width:28.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:63.0pt'>
    <p class=MsoNormal><b><i><span style='font-size:13.5pt;color:#FF6600'>  </span></i></b><i><span
    style='font-size:13.5pt;color:#FF6600'>frontline</span></i> <b><span
    style='font-family:Arial;color:#33CCCC'>CMS </span></b><o:p></o:p></p>
    </td>
    <td width="62%" style='width:62.24%;padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:63.0pt'>
    <p class=MsoNormal style='text-align:justify'><b><span style='font-size:
    7.5pt;font-family:Verdana;color:#999999'>An Email marketing tool...
    <o:p></o:p></span></b></p>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    7.5pt;font-family:Verdana'>frontline CMS facilitates bulk e - mailing, bulk SMS and bulk mailing and is a very easy operable tool for marketing. It is a very strong web based application having user-friendly interface enabling user to reach thousand of his contacts round the globe through email and SMS just on one click. </span><o:p></o:p></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td colspan=3 valign=top style='padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'>  </p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td colspan=3 valign=top style='padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:1.5pt'>
    <table border=0 cellspacing=1 cellpadding=0 width="100%" bgcolor="#006699"
    style='width:100.0%;mso-cellspacing:.7pt;background:#006699;mso-padding-alt:
    3.0pt 3.0pt 3.0pt 3.0pt'>
    <tr>
    <td style='background:white;padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <table border=0 cellspacing=0 cellpadding=0 width="100%"
    style='width:100.0%;mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
    <tr style='height:1.5pt'>
    <td colspan=2 valign=bottom style='padding:0in 0in 0in 0in;
    height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><b><span
    style='font-size:10.0pt;font-family:Verdana;color:#000099'>To know
    more about the multi-fold Path rewards:</span></b></p>
    </td>
    </tr>
    <tr style='height:48.0pt'>
    <td width="54%" style='width:54.0%;padding:0in 0in 0in 0in;
    height:48.0pt'>
    <ul type=disc>
    <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;mso-list:l0 level1 lfo3;tab-stops:list .5in'><span
    style='font-size:10.0pt;font-family:Verdana'>Call Frontline at
    91.11.2921.2331/2</span></li>
    <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;mso-list:l0 level1 lfo3;tab-stops:list .5in'><span
    style='font-size:10.0pt;font-family:Verdana'>E-mail: <a
    href="mailto:[email protected]">[email protected]</a></span></li>
    <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;mso-list:l0 level1 lfo3;tab-stops:list .5in'><span
    style='font-size:10.0pt;font-family:Verdana'>Visit us at: <a
    href="http://www.fsltechnologies.com" target="_blank">www.fsltechnologies.com
    </a></span></li>
    </ul>
    </td>
    <td width="46%" style='width:46.0%;padding:0in 0in 0in 0in;
    height:48.0pt'>
    <ul type=disc>
    <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
    auto;mso-list:l1 level1 lfo6;tab-stops:list .5in'><b><span
    style='font-size:10.0pt;font-family:Verdana'>Contact us at</span></b><span
    style='font-size:10.0pt;font-family:Verdana'><br>
    M-6, M Block Market,<br>
    Greater Kailash - II<br>
    New Delhi - 110048, India</span></li>
    </ul>
    </td>
    </tr>
    </table>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><o:p></o:p></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td colspan=3 valign=top style='padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:1.5pt'>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><a
    href="www.fsltechnologies.com" target="_blank"><span style='text-decoration:
    none;text-underline:none'><img border=0 width=250 height=60
    id="_x0000_i1043" src="images\logo.gif"></span></a></p>
    </td>
    </tr>
    <tr style='height:1.5pt'>
    <td colspan=3 valign=top style='padding:3.0pt 3.0pt 3.0pt 3.0pt;
    height:1.5pt'>
    <table border=0 cellspacing=1 cellpadding=0 width="100%"
    style='width:100.0%;mso-cellspacing:.7pt;mso-padding-alt:3.0pt 3.0pt 3.0pt 3.0pt'>
    <tr>
    <td style='padding:3.0pt 3.0pt 3.0pt 3.0pt'>
    <p class=MsoNormal style='text-align:justify'><span style='font-size:
    10.0pt;font-family:Verdana'>FSL Software Technologies Ltd an ISO
    9001:2000 certified company and a leading software solutions provider,
    we realize that in today's competitive environment, business must keep
    pace with the speed of thought. And we believe that your ideas and
    enterprises deserve substantial reinvention. We address the changing
    needs of your business with solutions that are cost-effective, fast to
    deploy, highly scalable and reliable</span></p>
    </td>
    </tr>
    </table>
    <p class=MsoNormal style='mso-line-height-alt:1.5pt'><o:p></o:p></p>
    </td>
    </tr>
    </table>
    </div>
    <p class=MsoNormal align=center style='text-align:center;mso-line-height-alt:
    1.5pt'><o:p></o:p></p>
    </td>
    </tr>
    </table>
    </div>
    <p class=MsoNormal><o:p></o:p></p>
    </td>
    </tr>
    </table>
    </div>
    <p class=MsoNormal><span style='color:windowtext'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
    </div>
    </body>
    </html>
    How i do that
    Regards
    Shambhu

    The functionality that you require is not available to VBA/COM - it is only exposed via C/C++.
    However, you could retrieve the ENTIRE page image to the clipboard and then use whatever VB/VBA methods you choose to grab a section of the image.
    Of course, this all assumes that Adobe Acrobat is installed on each person's computer that will be using the solution since Reader does not have the necessary APIs and Acrobat can't be installed on a server.

  • Labview IMAQ VI for capturing images and saving with incremental file names

    Hello,
    I am using LabView 7.1(IMAQ) to capture images with NI's PCI 1426 card, and a JAI CV-M2 camera. Now, with the example VI's like LL Grab, or LL Sequence, or Snap and Save to File.vi, I can capture the images. But what I actually want is to capture images continuously and keep saving them with a sequentially incrementing file name.
    I have tried to modify the Snap and Save to File.vi  by adding a 'for loop', so as to run this for required number of images. This works okay, but I can't really change the file name after every image. However, I'm not confident with this method either. I think it would be better to use the buffer itself, as is given in LL Grab.vi and somehow save images from the buffer. I think this would be faster ?
    In any case, any ideas as to how I should go about implementing auto-incrementing of the file name ?
    Any help will do. 
    Thanks.
    - Prashant

    Hi,
    Thanks a lot for replying. 
    I tried using this in the VI i was working with, but using the "build path" vi doesnt seem to work. If I use just the base path from user's input, it works, but then again it keeps overwriting the images into one file rather than giving each file a new name. I'm attaching the vi. 
    Please take a look and tell me where i'm going wrong.
    Thanks again.
    Attachments:
    LL Sequence_mod.vi ‏62 KB

  • Adding images and saving PDFs to send.

    Hello!
    I have a PDF file that I want to add/input my texts and images (signatures) into its application forms and SAVE to a PDF again to send.
    Do I really need to get the very expensive Acrobat just to do those simple tasks? Or are there any freeware version for Windows and/or Linux that can do these? I don't need a fancy editor.
    Thank you in advance.

    gimbal2 wrote:
    with single slash in path: "/images/text.png"),There are two slashes in that path, not a single one.
    Resources from a jar file work from the root of the jar. So lets say you have an image stored in your jar like:
    img\myimage.png
    then the path to look it up would be:
    URL url = getClass().getClassLoader().getResource("img/myimage.png");This will work from any java code, no matter how you invoke it. The only restriction is that the file must be on the classpath, meaning in a jar or in the classes directory of a netbeans project.I think that is at least misleading, according to my understanding. When you start a resource path with a / then the path is relative to the Classpath. So if a jar is in the Classpath, a / means the root of the jar. Outside a jar, it is relative to the directory(s) in the Classpath. When you start a resource path without a / it is relative to the .class file. If your class is not in a named package and you jar it, then / or no / is the same.

  • Is there anyway to retain layers in Photoshop Elements while saving to a .jpg format?

    I'm new to using PSE, and I like their concept of layers so that the original photo is not altered, however, my preference is to save all of my files utilizing .jpg.  I actually found out yesterday that after 3 weeks of scanning in very old family photos, then using PSE11 and utilizing layers and then saving to .jpg, that now when I reopen these files in PSE that the layers created are gone.  Please help!

    roberta5419014 wrote:
    Hi, although I'm really disappointed to hear that JPEG file format does not allow one to preserve the layer structure, I like your suggestion to keep the original psd files on a separate external drive.  I'm undertaking a massive job to scan in and then photoshop several generations of photos (estimated at over 8,000 photos), and as mentioned before I'd like to have all finished files saved as jpegs, but doing minimum compression as I know that it's a lossy format.  I guess I'll need to think what's the likelihood of wanting to access the original photos again in psd so that the background layer is preserved.  One last question if I may, you mentioned that converting over to jpeg is easy enough to do.  Is it simply a matter of selecting each PSD file and saving as a .jpg or is there a faster and or bulk method to convert multiple files to jpeg?  Thanks for all your help in fielding these questions?
    If you google "batch conversion PSD to JPEG" you will get many hits for converters.
    Your proposed work-flow is not clear to me. Are you planning to scan these photos and process all of them in PSE, then save them in PSD with the layers intact? Or, are you planning  to scan them and simply save the scans without initial PSE processing?
    I bring this up as I did a project last year, scanning/digitizing old 2x2" Kodacolor slides in the cardboard mounts. Initially I just scanned them and saved them to disk as JPEG. On further review, some were not interesting, others had folks in them whose identity remains cryptic, etc. The bottom line is that I was selective in processing them in PSE.
    I wouldn't worry about JPEG compression as a deterrent unless you Open>modify>save, Open>modify>save repeatedly.

  • Custom stamp images and print time

    I've created a PDF of a page of sheet music output with fonts from a music notation program. From that I'm making a "sample" for my customers to view. I've added a text watermark. Up to this point everything is working well and the print spooling happens quickly.
    However, I also want to add an image that looks like the torn corner of a page. To accomplish this, part of the image needs to be transparent so I've created both TIF (196k) and GIF (12k) versions of it in PhotoShop. Initially I tried to also add the image as a watermark but neither of these file formats are permitted with that function. Now I have created a custom stamp with each of these two images and saved files with both of them. They're about the same size ~180k.
    My system (details below) is not exactly a rocket by today's standards but I do quite a bit of graphic work with it so I know what to expect in this regard. Sending the file with the TIF to print takes about 2:15 before printing begins. With the GIF it takes about 10 minutes. (I nodded off...)
    I'm certainly open to other ideas about how to accomplish this. I could certainly save the file as a JPG, but because I need to keep the resolution quite high for both the text and music, the file sizes get quite a bit bigger.
    Thanks - JAY
    G4 MDD 1.25ghz MP
    OS 10.4.11
    2gb RAM
    CS3 Design Premium
    Acrobat Pro 8.1.2

    I forgot to mention that those times reflect printing from within Acrobat. When I printed the TIF version from within Preview it took less than 30 seconds to start, but the transparent portion of the image did not appear completely transparent.

  • IPhoto iPhone app... degrading image when saved?

    Having the iPhone 4 and iPhone 4S and using the camera app that apple includes degrades the resolution size when after you take a picture THEN use EDIT and apply auto correct.
    When you save the image the fine becomes NOT full resolution for some reason?
    When shot using the "iPhone 4" for starters the shot image and saved is 1936x2592 px (5MP)
    If you EDIT the picture after shooting it using the Apple supplied app and save the image the size NOW becomes 1529x2048 px (3MP)
    I have purchased iPhoto app and in using it find the same loss in resolution when editing a image and saving it, you get the same loss in size and resolution in your camera roll when you check size.
    WHAT is going on here Apple?
    I have MANY iPhotography apps and have NEVER seen that happen UNLESS they are free or what ever so from what I can tell Apple takes the image at FULL resolution, but when you EDIT the image using THERE camera app or now the just released iPhoto app ($4.99) you end up with NON full resolution images.
    ANYONE have a explanation of why and how to get a full resolution shot to stay that way if edited with Apple camera app or iPhoto app, were is the menu to turn that off?
    When having Location Services on... Saving from the Photo app, after using the edit buttion DOES save the image at full resolution but in iPhoto app is DOES not and always see the degrade of the image to 1529x2048 px (3MP) every time... What is going on here and can be confirmed after many times testing this.
    Maybe NOT using those products might be the way to go. The iPhoto app is generic at best anyways so it's no loss in what it does and WAITING to see a full review here soon hopefully.
    Looking for your comments.
    Thanks.

    Yeah my point is though... Its like a console. I have a game that I have played on my console 3 years ago. I have a saved game half way through and now I want to continue that game... Unfortunately because i turned the game off despite saving it - it hasn't actually saved?
    Surely when itunes syncs your game data across it should sync the current saved game that you have with it?
    If thats not the case and Apple expect you to restart a game everytime you take it off your phone and put it back on it surely your to expect people to get annoyed with it? surely im not the only person that has noticed and become annoyed with it.

  • Load, crop and saving jpg and gif images with JFileChooser

    Hello!
    I wonder is there someone out there who can help me with a applic that load, (crop) and saving images using JFileChooser with a simple GUI as possible. I'm new to programming and i hope someone can show me.
    Tor

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.filechooser.*;
    import javax.swing.filechooser.FileFilter;
    public class ChopShop extends JPanel {
        JFileChooser fileChooser;
        BufferedImage image;
        Rectangle clip = new Rectangle(50,50,150,150);
        boolean showClip = true;
        public ChopShop() {
            fileChooser = new JFileChooser(".");
            fileChooser.setFileFilter(new ImageFilter());
        public void setClip(int x, int y) {
            clip.setLocation(x, y);
            repaint();
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            if(image != null) {
                int x = (getWidth() - image.getWidth())/2;
                int y = (getHeight() - image.getHeight())/2;
                g2.drawImage(image, x, y, this);
            if(showClip) {
                g2.setPaint(Color.red);
                g2.draw(clip);
        public Dimension getPreferredSize() {
            int width = 400;
            int height = 400;
            int margin = 20;
            if(image != null) {
                width = image.getWidth() + 2*margin;
                height = image.getHeight() + 2*margin;
            return new Dimension(width, height);
        private void showOpenDialog() {
            if(fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
                File file = fileChooser.getSelectedFile();
                try {
                    image = ImageIO.read(file);
                } catch(IOException e) {
                    System.out.println("Read error for " + file.getPath() +
                                       ": " + e.getMessage());
                    image = null;
                revalidate();
                repaint();
        private void showSaveDialog() {
            if(image == null || !showClip)
                return;
            if(fileChooser.showSaveDialog(this) == JFileChooser.APPROVE_OPTION) {
                File file = fileChooser.getSelectedFile();
                String ext = ((ImageFilter)fileChooser.getFileFilter()).getExtension(file);
                // Make sure we have an ImageWriter for this extension.
                if(!canWriteTo(ext)) {
                    System.out.println("Cannot write image to " + ext + " file.");
                    String[] formatNames = ImageIO.getWriterFormatNames();
                    System.out.println("Supported extensions are:");
                    for(int j = 0; j < formatNames.length; j++)
                        System.out.println(formatNames[j]);
                    return;
                // If file exists, warn user, confirm overwrite.
                if(file.exists()) {
                    String message = "<html>" + file.getPath() + " already exists" +
                                     "<br>Do you want to replace it?";
                    int n = JOptionPane.showConfirmDialog(this, message, "Confirm",
                                                          JOptionPane.YES_NO_OPTION);
                    if(n != JOptionPane.YES_OPTION)
                        return;
                // Get the clipped image, if available. This is a subImage
                // of image -> they share the same data. Handle with care.
                BufferedImage clipped = getClippedImage();
                if(clipped == null)
                    return;
                // Copy the clipped image for safety.
                BufferedImage cropped = copy(clipped);
                boolean success = false;
                // Write cropped to the user-selected file.
                try {
                    success = ImageIO.write(cropped, ext, file);
                } catch(IOException e) {
                    System.out.println("Write error for " + file.getPath() +
                                       ": " + e.getMessage());
                System.out.println("writing image to " + file.getPath() +
                                   " was" + (success ? "" : " not") + " successful");
        private boolean canWriteTo(String ext) {
            // Support for writing gif format is new in j2se 1.6
            String[] formatNames = ImageIO.getWriterFormatNames();
            //System.out.printf("writer formats = %s%n",
            //                   java.util.Arrays.toString(formatNames));
            for(int j = 0; j < formatNames.length; j++) {
                if(formatNames[j].equalsIgnoreCase(ext))
                    return true;
            return false;
        private BufferedImage getClippedImage() {
            int w = getWidth();
            int h = getHeight();
            int iw = image.getWidth();
            int ih = image.getHeight();
            // Find origin of centered image.
            int ix = (w - iw)/2;
            int iy = (h - ih)/2;
            // Find clip location relative to image origin.
            int x = clip.x - ix;
            int y = clip.y - iy;
            // clip must be within image bounds to continue.
            if(x < 0 || x + clip.width  > iw || y < 0 || y + clip.height > ih) {
                System.out.println("clip is outside image boundries");
                return null;
            BufferedImage subImage = null;
            try {
                subImage = image.getSubimage(x, y, clip.width, clip.height);
            } catch(RasterFormatException e) {
                System.out.println("RFE: " + e.getMessage());
            // Caution: subImage is not independent from image. Changes
            // to one will affect the other. Copying is recommended.
            return subImage;
        private BufferedImage copy(BufferedImage src) {
            int w = src.getWidth();
            int h = src.getHeight();
            BufferedImage dest = new BufferedImage(w, h, src.getType());
            Graphics2D g2 = dest.createGraphics();
            g2.drawImage(src, 0, 0, this);
            g2.dispose();
            return dest;
        private JPanel getControls() {
            JPanel panel = new JPanel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.weightx = 1.0;
            gbc.fill = GridBagConstraints.HORIZONTAL;
            gbc.gridwidth = GridBagConstraints.REMAINDER;
            panel.add(getCropPanel(), gbc);
            panel.add(getImagePanel(), gbc);
            return panel;
        private JPanel getCropPanel() {
            JToggleButton toggle = new JToggleButton("clip", showClip);
            toggle.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    showClip = ((AbstractButton)e.getSource()).isSelected();
                    repaint();
            SpinnerNumberModel widthModel = new SpinnerNumberModel(150, 10, 400, 1);
            final JSpinner widthSpinner = new JSpinner(widthModel);
            SpinnerNumberModel heightModel = new SpinnerNumberModel(150, 10, 400, 1);
            final JSpinner heightSpinner = new JSpinner(heightModel);
            ChangeListener cl = new ChangeListener() {
                public void stateChanged(ChangeEvent e) {
                    JSpinner spinner = (JSpinner)e.getSource();
                    int value = ((Number)spinner.getValue()).intValue();
                    if(spinner == widthSpinner)
                        clip.width = value;
                    if(spinner == heightSpinner)
                        clip.height = value;
                    repaint();
            widthSpinner.addChangeListener(cl);
            heightSpinner.addChangeListener(cl);
            JPanel panel = new JPanel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.insets = new Insets(2,2,2,2);
            gbc.weightx = 1.0;
            panel.add(toggle, gbc);
            addComponents(new JLabel("width"),  widthSpinner,  panel, gbc);
            addComponents(new JLabel("height"), heightSpinner, panel, gbc);
            return panel;
        private void addComponents(Component c1, Component c2, Container c,
                                   GridBagConstraints gbc) {
            gbc.anchor = GridBagConstraints.EAST;
            c.add(c1, gbc);
            gbc.anchor = GridBagConstraints.WEST;
            c.add(c2, gbc);
        private JPanel getImagePanel() {
            final JButton open = new JButton("open");
            final JButton save = new JButton("save");
            ActionListener al = new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    JButton button = (JButton)e.getSource();
                    if(button == open)
                        showOpenDialog();
                    if(button == save)
                        showSaveDialog();
            open.addActionListener(al);
            save.addActionListener(al);
            JPanel panel = new JPanel();
            panel.add(open);
            panel.add(save);
            return panel;
        public static void main(String[] args) {
            ChopShop chopShop = new ChopShop();
            ClipMover mover = new ClipMover(chopShop);
            chopShop.addMouseListener(mover);
            chopShop.addMouseMotionListener(mover);
            JFrame f = new JFrame("click inside rectangle to drag");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new JScrollPane(chopShop));
            f.getContentPane().add(chopShop.getControls(), "Last");
            f.pack();
            f.setLocation(200,100);
            f.setVisible(true);
    class ImageFilter extends FileFilter {
        static String GIF = "gif";
        static String JPG = "jpg";
        static String PNG = "png";
        // bmp okay in j2se 1.5+
        public boolean accept(File file) {
            if(file.isDirectory())
                return true;
            String ext = getExtension(file).toLowerCase();
            if(ext.equals(GIF) || ext.equals(JPG) || ext.equals(PNG))
                return true;
            return false;
        public String getDescription() {
            return "gif, jpg, png images";
        public String getExtension(File file) {
            String s = file.getPath();
            int dot = s.lastIndexOf(".");
            return (dot != -1) ? s.substring(dot+1) : "";
    class ClipMover extends MouseInputAdapter {
        ChopShop component;
        Point offset = new Point();
        boolean dragging = false;
        public ClipMover(ChopShop cs) {
            component = cs;
        public void mousePressed(MouseEvent e) {
            Point p = e.getPoint();
            if(component.clip.contains(p)) {
                offset.x = p.x - component.clip.x;
                offset.y = p.y - component.clip.y;
                dragging = true;
        public void mouseReleased(MouseEvent e) {
            dragging = false;
        public void mouseDragged(MouseEvent e) {
            if(dragging) {
                int x = e.getX() - offset.x;
                int y = e.getY() - offset.y;
                component.setClip(x, y);
    }

  • How do I find and extract images in from email

    Over the years, plenty of people have shared pictures with me via email.  I want to find all those pictures and make copies to put into aperture.  I don't want to grab all the pictures that are .gifs that are icons from applications or signature etc.
    Does anyone know a good way or app to do this?  Finder doesn't seem to allow me to exclude certain files.

    mass wrote:
    Finder doesn't seem to allow me to exclude certain files.
    Let's get a few things out of the way first.
    As to X1, forget it. It's Windows only, and it's not exactly cheap.
    Also, nothing I say applies to Outlook. I assume you're talking Outlook 2011, and I have no clue how it works.
    As to Finder, it doesn't do searches. All searches are done by Spotlight. Finder's Find command, the Spotlight menu, these are just different ways of interacting with Spotlight. And, yes, of course you can exclude certain files. You simply have to learn to use Spotlight. I'm not a fan -- I think Spotlight is not a search engine, but a sorry, pathetic excuse for one -- but still, it can do a few things if you handle it right.
    Now, about Mail. AFAIK, Apple does not document the <~/Library/Mail> structure, so what follows is from my own observations, and hence not authoritative.
    Incoming and outgoing messages from your mail accounts, ie, listed in Mail.app's Sidebar under "Mailboxes", are stored in <~/Library/Mail/[account]>, inside .mbox packages, as individual .emlx files. An .emlx file contains the raw message, plus an XML footer. Any attachments are, of course, inside the raw message in base64 encoding. The .emlx metadata does not include whether or not the message contains an attachment, so you can't use Spotlight to search for messages with attachments, nor can you do that in Mail.
    However, messages which are moved from your mail accounts to local, user-created mailboxes, listed in Mail.app's Sidebar under "On My Mac", are treated slightly differently. They are still stored as .emlx files (including attachments) inside .mbox packages, which, in their turn, are inside a directory named "Mailboxes", but the attachments are also extracted to an Attachments directory inside the respective .mbox package, being stored inside directories labelled with the respective message's number. With this arrangement, finding images with Spotlight becomes trivial.
    For instance, you say you want to find all images which are not GIFs. In Finder, select <~/Library/Mail/Mailboxes>, then ⌘F or ⇧⌘F. In the search field, type
    kind:image NOT .gif
    (the Boolean operator NOT is case sensitive). This should find all images which do not contain the string ".gif" in their file name. Of course, there are strings attached.  If there is an image named, say, "my_photo.gif.jpg", it will be missed. Also, "kind:image" only looks for TIFF, JPEG, PNG, GIF and BMP formats. It will probably not find RAW images, or those in more exotic formats.
    So, your first step in Mail (if you haven't done so already) is to organise your mail, irrespective of attachments, in mailboxes and folders in "On My Mac". (IMHO, this is a good idea in any case.)
    The next step is to use a Spotlight search as described above to find all images. After that, it's up to you. I don't know how Aperture works. Maybe you can just import them, or maybe you need to copy them to some folder. (Remember, you may copy stuff from <~/Library/Mail>, but don't move or delete any of it in Finder -- or the wrath of Mac OS X will strike down upon thee with great vengeance and furious anger!) If you do need to copy them to some other folder, I suspect you'll discover another bridge to cross, but we'll deal with that when -- if -- we get there.

  • With Netscape all of the Webcam shots from live feeds were automatically saved in my cache folder and I could simply open my cache send the saved files into AcDsee and convert them into jpgs, It would save as many as I would allow space for. With firefox

    I cant retrieve my images from webcams that are cached any more with mozilla. With netscape all of the live webcam images from live cams were automatically saved in my cache folder and all i had to do was open it send the files to acdsee and turn them into jpgs. It would save them untill the Cache ran out of room no matter how many files or sites I had running. Mozilla seems to save what it wants when it wants and often dose not save any that I can retrieve because I believe it is bulking them into Cache 123 or 4 and those i cant open to retrieve the files. Sometimes it saves 100 or so and sometimes 2 or 3 sometimes 10 or more but i don't seem to have any control over what it does or does not save to retrieve no matter how much space i allow for the cache to save.
    == This happened ==
    Every time Firefox opened
    == I finally gave up trying to keep netscape due to all the ridiculess popups and continued reminders from you saying i had to switch over

    You have or had an extension installed (Ant.com Toolbar) that has changed the user agent from Firefox/3.6.3 to Firefox/3.0.12.
    You can see the Firefox version at the top and the user agent at bottom of the "Help > About" window (Mac: Firefox > About Mozilla Firefox).
    You can check the '''general.useragent''' prefs on the '''about:config''' page.
    You can open the ''about:config'' page via the location bar, just like you open a website.
    Filter: '''general.useragent'''
    If ''general.useragent'' prefs are bold (user set) then you can right-click that pref and choose ''Reset''.
    See [[Web sites or add-ons incorrectly report incompatible browser]] and [[Finding your Firefox version]]
    See also http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default

  • Loading, cropping and saving jpg files in Flex

    I'm attempting to apply the code for selecting, cropping and saving image data (.jpg, .png) as shown on the web site:
    http://www.adobe.com/devnet/flash/quickstart/filereference_class_as3.html#articlecontentAd obe_numberedheader_1
    The sample application is contained within a class called Crop contained in the action script file Crop.as which begins as follows:
    package
        import com.adobe.images.JPGEncoder;
        import com.adobe.images.PNGEncoder;
        import flash.display.BitmapData;
        import flash.display.DisplayObject;
        import flash.display.DisplayObjectContainer;
        import flash.display.Loader;
        import flash.display.LoaderInfo;
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.events.IOErrorEvent;
        import flash.events.MouseEvent;
        import flash.geom.Matrix;
        import flash.geom.Rectangle;
        import flash.net.FileFilter;
        import flash.net.FileReference;
        import flash.utils.ByteArray;
        public class Crop extends Sprite
    My application attempts to make use of the Crop class by including the Crop.as file:
         <mx:Script source="Crop.as"/> 
    in the Flex Component which needs it, and then calling the Crop constructor to perform the methods of the class
       var localImage:Crop = new Crop();
       localImage.Crop();
    My application does not compile. The package statement (or the curly bracket on the following line) is flagged with the error "Packages may not be nested".
    I have no idea why this should be as I cannot see any nested definitions anywhere in my application. The component includes the Crop.as file which contains the package and class definition.
    Can anyone give my some guidance as to why this error is occurring?
    Any help would be greatly appreciated.  

    Hi Scott,
    #1
    that error is because "fx:Script" (or mx:Script) are intended to include part of Actionscript code - but not class defitions or blocks.
    So if you are trying to include e.g. such class:
    package
         import flash.display.Sprite;
         public class Crop extends Sprite
              public function Crop()
                   super();
              public function processImage():void
                   trace("processImage()");
    compiler will immediately complain as you are trying to incorporate nested class within your application code.
    #2
    here is correct way (I think) to incorporate some class via mxml tags (here using fx:Script):
    Using class sample above:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/mx"
                      xmlns:utils="*"
                      applicationComplete="completeHandler(event)">
         <!-- util Crop will be initialized here as instance "cropUtil" -->
         <fx:Declarations>
              <utils:Crop id="cropUtil"/>
         </fx:Declarations>
         <!-- script where "cropUtil" will be used -->
         <fx:Script>
              <![CDATA[
                   import mx.events.FlexEvent;
                   protected function completeHandler(event:FlexEvent):void
                        cropUtil.processImage();
              ]]>
         </fx:Script>
    </s:Application>
    But note that you could simply create instance of your class by direct import in fx:Script:
         <fx:Script>
              <![CDATA[
                   import mx.events.FlexEvent;
                   private var cropUtil:Crop = null;
                   protected function completeHandler(event:FlexEvent):void
                        cropUtil = new Crop();
                        cropUtil.processImage();
              ]]>
         </fx:Script>
    hth,
    kind regards,
    Peter Blazejewicz

  • How to open a .jpg image and edit it.

    I can't seem to figure out how to open a .jpg image or any image in Flash Professional CC. I'm quite new to this so sorry if this sounds like a stupid question. When I go to File>Open I can only see .as , .fla, .jsfl , .xsfl and .xml files. I do not have an option to be able to view .jpg or .png pictures. I would appericate if somebody could take the time and answer this for me
    Thanks

    If you want to edit a jpeg or png image, do that with a separate program such as Fireworks or Photoshop.  After you import the image into Flash you can edit the image again in these separate applications and update the image you imported into Flash via selecting the Properties option in the library menu for the image and clicking the Update button.

  • Saving file, but jpg and gif comes out garbled

    Would someone please help me? I'm at my wit's end here. I'm writing a program that reads a file and saves it, but it needs to read a maximum of 512 bytes before it starts to write. It needs to work with both text files and images.
    - It works fine with text files.
    - It works fine with bmp images.
    - It works fine with jpg and gif images under 512 bytes.
    - With a jpg or gif over 512 bytes, it comes out all garbled, but the same file size as the original.
    One thing is really confoozling me. When the image comes out garbled, I tried changing the files for both the original and the copy into text files by changing the file extension to .txt. Both the text files were identical! So if the data is identical, why is the copy not showing the same image as the original?
    import java.io.*;
         public class SaveFile{
              public static final int BUFSIZE = 512;
              public static final String LIBRARY = "C:\\";
              static int totalRead = 0;  //Total number of bytes in buffer (Max BUFSIZE).
              static int fileSize = 0;  //Size of whole file.
                  static String fileName = "";  //Name of file.
                 static char[] data = new char[BUFSIZE];  //The data in the file.
              public static void main(String[] args){
                            //Bytes already read by the buffer.
                      int charsRead = BUFSIZE; 
                          //Takes name of file from main argument.
                         for(int i=0; i < args.length; i++)
                             fileName = fileName + args;
    //Name of file including directory.
              String fetchFile = LIBRARY + fileName;
              File file1 = new File(fetchFile);
              * Reads a string from the file to data (char array).
                   BufferedReader reader =
    new BufferedReader(new FileReader(file1), BUFSIZE);
                   BufferedWriter writer =
    new BufferedWriter(new FileWriter(fileName));
                   //Will continue as long as buffer is full.
                   while (charsRead == BUFSIZE){ 
                        charsRead = reader.read(data, 0, BUFSIZE);
                        if (charsRead != -1) {
                             totalRead = charsRead;
                             write(writer);
                             fileSize = fileSize + totalRead;
                   reader.close();
                   writer.close();
              System.out.println((fileSize) + " bytes read and saved as " + fileName);
         * Writes data to a new file.
         public static void write(BufferedWriter writer) {
                   for (int j = 0; j < totalRead; j++) {
                        writer.write(data[j]);
    I stripped away the directory selection and error handling to make it simpler.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Cadvan1123 wrote:
    I think the best choice is to use a ByteArrayOutputStreamWrong. You do not need a ByteArrayOutputStream
    and I think that it uses ASCII encodingPossible, but you can't just make that assumption. On windows for instance, there's a good likelihood it could use ANSI. And BTW, ASCII is for the most part dead, as it has been superseded by UTF-8.
    Check out t [jacobs.io.DataFetcher in TUS|http://tus.svn.sourceforge.net/viewvc/tus/tjacobs/] for a threadable and optimal/close-to-optimal solution for reading in binary files.
    Edited by: tjacobs01 on Mar 20, 2010 2:56 PM

Maybe you are looking for

  • How do I separate my Apple ID password from my icloud password?

    How do I separate my Apple ID password from my icloud password? i share my apple ID with my family to share software downloads etc but need to keep some icloud stuff secure from. Any help appreciated! Mikul

  • Flip4Mac and how to use it

    I recently downloaded it with a view to using WMP content but on clicking the green WMV icon nothing happens, so i am not sure how it works. I tried to download WMP 9 for Mac and all that happens is that iMovies opens when the download completes?? An

  • Alv + date field problem

    Hi All I have a screen with a date field and an alv grid. When I hit the f4 help on the date field the date does not appear. When I test this screen in the screen painter the date picker shows up, but when I run the program it does not, it is like so

  • Why is my expression "unchecked"?

    Hello I am trying to use XMLDecoder to load up some objects that I previously encoded using XMLEncoder XMLDecoder xml = new XMLDecoder(                                    new BufferedInputStream(                                         new FileInputS

  • Oracle 10g on RHEL 4

    HELLO everone, could anyone please let me know, as i am new to both oracle and linux, i have just successfully installed oracle on linux (default locations) and when i type in sqlplus it says: commond not found. what do i do? Thanks