Is it possible to get the total value of column and set to another area

Hello

Is it possible to get the total value of a particular column, and assign this value to another discipline?

How to do this?

Thanks in advance,
SAN

Hi SAM,

If your controller class throw this message it means that it works very well. Follow these steps, I hope this will solve your problem.

1 check the following

OAApplicationModule am = pageContext.getApplicationModule (webBean);
OAViewObject ratvo = (OAViewObject) am.findViewObject("*CompetenceElementsVO*"); It should be the name of the instance instead of the name Physics vo vo.
OAViewObject valuevo = (OAViewObject) am.findViewObject("*PerRatingLevelsVO*");

2. extend this controller class that is associated with this region.

I hope it will work now.

Haroon.

Tags: Oracle Applications

Similar Questions

  • to get the total value as application even if item_number is added

    Hi all

    I have the following query with me
    SELECT   SUM (  (NVL (f.calc_cement_sk, f.calc_amount) * NVL (f.item_price, 0)
                    )
                  - (  NVL (f.calc_cement_sk, f.calc_amount)
                     * NVL (f.item_price, 0)
                     * (NVL (f.dis_per, 0) / 100)
                    )
                 ) total,
             h.slurry_type, h.stage_id, h.slurry_vol_actual
        FROM xxnp_opn_joblog_est_002 f,
             xxnp_opn_joblog_001 j,
             xxnp_opn_joblog_slurry_003 h,
             qp_secu_list_headers_v qw
       WHERE j.opn_job_desc = 'K/D/KD43/UG187/1338/D/0211/1'
         AND f.opn_joblog_001_id = j.opn_joblog_001_id
         AND j.contract = qw.NAME
         AND h.opn_joblog_001_id = j.opn_joblog_001_id
         AND h.opn_joblog_007_id = f.opn_joblog_007_id
         AND h.opn_joblog_006_id = f.opn_joblog_006_id
    GROUP BY h.stage_id, h.slurry_type, h.slurry_vol_actual
    the result I get is


    SLURRY_TYPE TOTAL STAGE_ID SLURRY_VOL_ACTUAL
    9,562.59 lead 1 490
    2,184.84 1 80 tail
    1,091.73 reload 1 56
    3,431.64 tail 2 100
    when i add f.item_number to the above query as shown below
    
    SELECT   SUM (  (NVL (f.calc_cement_sk, f.calc_amount) * NVL (f.item_price, 0)
                    )
                  - (  NVL (f.calc_cement_sk, f.calc_amount)
                     * NVL (f.item_price, 0)
                     * (NVL (f.dis_per, 0) / 100)
                    )
                 ) total,f.item_number,
             h.slurry_type, h.stage_id, h.slurry_vol_actual
        FROM xxnp_opn_joblog_est_002 f,
             xxnp_opn_joblog_001 j,
             xxnp_opn_joblog_slurry_003 h,
             qp_secu_list_headers_v qw
       WHERE j.opn_job_desc = 'K/D/KD43/UG187/1338/D/0211/1'
         AND f.opn_joblog_001_id = j.opn_joblog_001_id
         AND j.contract = qw.NAME
         AND h.opn_joblog_001_id = j.opn_joblog_001_id
         AND h.opn_joblog_007_id = f.opn_joblog_007_id
         AND h.opn_joblog_006_id = f.opn_joblog_006_id
    GROUP BY h.stage_id, h.slurry_type, h.slurry_vol_actual,f.item_number
    
    
    the field total gets split and gives value corresponding to each item_number
    
    i am giving the ouptut for stage 1
    ITEM_NUMBER TOTAL SLURRY_TYPE STAGE_ID SLURRY_VOL_ACTUAL
    5011.5 1020101001 lead 1 490
    1308.93 1020102002 lead 1 490
    127.215 1020111001 lead 1 490
    138.92 1020112001 lead 1 490
    686 1020113001 lead 1 490
    550,5 1020113002 lead 1 490
    1739.52 1020222010 lead 1 490
    1517.1 1020101001 1 80 tail
    379.5 1020102003 1 80 tail
    83.2 1020103001 1 80 tail
    166.53 1020104001 1 80 tail
    38.511 1020111001 1 80 tail
    1064,7 1020101001 reload 1 56
    27,027 1020111001 reload 1 56


    If we add up the values in the total field to the head, tail, charge that we get 9562.59,2184.84,1091.73 respectively

    kindly Guide
    to get the total value as application even if item_number is added
    thanking in advance

    Hello

    You can do this by enclosing it with another selection

    select
    total, slurry_type, stage_id, slurry_vol_actual,
    sum(total) over (partition by slurry_type, stage_id, slurry_vol_actual) from (
    your actual select
    )
    

    concerning

  • How to query the total number of columns and lines filled with data?

    How to get the number of rows and columns in Exel file data using Excel report?

    Since you have posted this question in the forum of LabWindows/CVI, I guess you want to know how to do with CVI.

    You need to know how to open and activate the Excel data file.

    Depending on the function returns the total number of columns and lines col_count row_count, respectively.

    -----------------------------------------------------------------------------------------------------------------------------------------

    int CountColumnsAndRows (void)
    {
    Error HRESULT = 0;
    CAObjHandle rangeCurrentRegionHandle = 0;
    CAObjHandle rangeColumnsHandle = 0;
    CAObjHandle rangeRowsHandle = 0;
      
    unsigned long col_count = 0, row_count = 0;
      
    Must use the 'A1' property and CruuentRegion count the total of columns and lines, including the drafts!
      
    error = CA_VariantSetCString (& MyCellRangeV, 'A1');
      
    error = Excel_WorksheetRange (ExcelWorksheetHandle, NULL, MyCellRangeV, CA_DEFAULT_VAL, & ExcelRangeHandle);
    If (error<0) goto="">
      
    error = Excel_GetProperty (ExcelRangeHandle, & ErrorInfo, Excel_RangeCurrentRegion, CAVT_OBJHANDLE, & rangeCurrentRegionHandle);
    If (error<0)  goto="" error="">
      
    error = Excel_GetProperty (rangeCurrentRegionHandle, & ErrorInfo, Excel_RangeColumns, CAVT_OBJHANDLE, & rangeColumnsHandle);
    If (error<0)  goto="" error="">
      
    error = Excel_GetProperty (rangeColumnsHandle, & ErrorInfo, Excel_RangeCount, CAVT_LONG, & col_count);
    If (error<0) goto="">
      
    error = Excel_GetProperty (rangeCurrentRegionHandle, & ErrorInfo, Excel_RangeRows, CAVT_OBJHANDLE, & rangeRowsHandle);
    If (error<0)  goto="" error="">
      
    error = Excel_GetProperty (rangeRowsHandle, & ErrorInfo, Excel_RangeCount, CAVT_LONG, & row_count);
    If (error<0) goto="">

    Error:

    CA_VariantClear (& MyCellRangeV);
    CA_VariantClear (& MyVariant);
    ClearObjHandle (& ExcelRangeHandle);
    ClearObjHandle (& rangeCurrentRegionHandle);
    ClearObjHandle (& rangeColumnsHandle);
    ClearObjHandle (& rangeRowsHandle);
      
     
    If (error<>
    ReportAppAutomationError (error);
      
    error return;
    }

  • Get the date value. MinValue and insert it into the DB

    Hello

    I'm developing an adf application using jdev11g.

    I need to recover the 3 values of page jsf (inputText 2 + 1 date. MinValue) and insert them into DB

    so I create a method in appModuleImpl:

    {public createAffAgVehNewRow (Date date, around km, veh Integer) Sub

    Get the id of the current user

    String ag = ADFContext.getCurrent () .getSessionScope ().get("idAg").toString ();

    getSequenceNumber

    oracle.jbo.domain.Number seq = new oracle.jbo.domain.Number (0);

    SequenceImpl seqImpl = new SequenceImpl ("AFF_AV_SEQ", getDBTransaction());

    SEQ = seqImpl.getSequenceNumber ();

    Insert values into the DB table

    Line r = getAffAgVehView1 () .createRow ();

    ViewObjectImpl vo = this.getAffAgVehView1 ();

    r.setAttribute ("IdAg", Integer.parseInt (ag.toString ()) ");

    r.setAttribute ("IdAffAv", seq);

    r.setAttribute ("KmDep", km);

    r.setAttribute ("IdVeh", veh);

    r.setAttribute ("DateAff", date);

    r.setAttribute ("KmArriv", null);

    r.setAttribute ("ConsoCarb", null);

    vo.insertRow (r);

    this.getDBTransaction () .commit ();

    }

    also, I changed the default value of the EO (AffAgVeh) to adf.currentDate () and the user interface as simpleDate format: "MM/DD/YYYY.

    the problem as whene I enter 3 inputValues and click on the button I get this message:

    Timestamp format must be yyyy-mm-dd hh: mm: [.fffffffff]

    someone knows how to solve this problem

    Thank you

    Mark

    Hi Dev

    Please pass.

    java.sql.SQLException: column type invalid in the adf

    Thank you

    Subramanian M

  • Show only the total values for column?

    I have a pivot table where, for one of the columns I want to not show that total values without showing the values of the detail for each line

    In the example below (where each parent totals are shown in first - above), for the last 4 columns, I only want to show values in the total row.

    Setting conditional formatting will help you.

    For these columns measures go to the columns of no matter what you do not have a group of conditional as format below.

    Main area is not null "define 0 as the font size.

    Thank you

    AJ

  • How to get the total of a column in php

    I have a php MySQL database that stores the bills paid, I need to show all of the column that stores the individual payments

    what I have so far

    $colname_rsProperty = "-1";

    If (isset($_GET['recordID'])) {}

    $colname_rsProperty = $_GET ["recordID"];

    }

    @mysql_select_db ($database_hostprop, $hostprop);

    $query_rsProperty = sprintf ("" SELECT * FROM host_editprop, host_editpropUtil, host_editpropUtilComp WHERE host_editprop.prop_id = AND host_editpropUtil.prop_id = host_editprop.prop_id AND host_editpropUtilComp.utilID = host_editpropUtil.UtilPropNameID %s ", GetSQLValueString ($colname_rsProperty,"text")");

    $query_limit_rsProperty = sprintf ("%s LIMIT %d, %d", $query_rsProperty, $startRow_rsProperty, $maxRows_rsProperty);

    $rsProperty = mysql_query ($query_limit_rsProperty, $hostprop) or die (mysql_error ());

    $total = 0;

    $total += $row_rsProperty ["utilityAmount"];

    the host_editpropUtil column is called utilityAmount

    and the individual amounts are the echoes of

    <? PHP echo DoFormatCurrency ($row_rsProperty ['utilityAmount'], 2, ','.', ' £');? >

    and I want to put the total at the end of these

    and just an echo of the total need

    <? PHP echo $total? >

    This is just to show the first value in the table

    Thanks in advance

    got it to work

    $colname_rsProperty = "-1";

    If (isset($_GET['recordID'])) {}

    $colname_rsProperty = $_GET ["recordID"];

    }

    @mysql_select_db ($database_hostprop, $hostprop);

    $query_rsProperty = sprintf ("" SELECT * FROM host_editprop, host_editpropUtil, host_editpropUtilComp WHERE host_editprop.prop_id = AND host_editpropUtil.prop_id = host_editprop.prop_id AND host_editpropUtilComp.utilID = host_editpropUtil.UtilPropNameID %s ", GetSQLValueString ($colname_rsProperty,"text")");

    $rsProperty = mysql_query ($query_rsProperty, $hostprop) or die (mysql_error ());

    $row_rsProperty = mysql_fetch_assoc ($rsProperty);

    $totalRows_rsProperty = mysql_num_rows ($rsProperty);

    @mysql_select_db ($database_hostprop, $hostprop);

    $query_rsSum = sprintf ("SELECT host_editpropUtil.utilityAmount, host_editprop.prop_id, host_editprop, host_editpropUtil.prop_id FROM host_editpropUtil WHERE host_editpropUtil.prop_id = host_editprop.prop_id AND host_editprop.prop_id = %s", GetSQLValueString ($colname_rsProperty, "text") ");

    $rsSum = mysql_query ($query_rsSum, $hostprop) or die (mysql_error ());

    $totalRows_rsSum = mysql_num_rows ($rsSum);

    $grandTotal = 0;

    Use a loop here

    {If ($row_rsSum = mysql_fetch_assoc ($rsSum))

    $grandTotal += $row_rsSum ["utilityAmount"];

    $row ['utilityAmount'] ;// and view the contents of the line

    $row ['SUM (utilityAmount)'; / / and display the contents of the line

    }

  • How to get the total value of the array in a variable

    Hello

    Can you please let me know how can I store the value of a field in a column of advanced Table. I want this value for my validation. I tried looking on the forum under code... but it is not workng

    OAAdvancedTableBean distTable = (OAAdvancedTableBean) webBean.findChildRecursive("distributionRN");
    If (distTable! = null) {}
    OATableFooterBean distTableFooter = distTable.getFooter ((OATableFooterBean));
    If (distTableFooter! = null) {}
    Total OATotalRowBean = distTableFooter.getTotal ((OATotalRowBean));
    String value = total.getText ();
    System.out.println ("value" + value);
    System.out.println ("total" + total);
    }
    }

    The code above prints:

    null value
    Total OATotalRowBean, localName = 'totalRow.

    So basically getText() is nt working. Please suggest and thanks in advance.

    Mark answers as Correct or relatively useful so that others can take advantage of.

    Thank you
    Gerard

  • Is it possible to get the Apple Mail Server to forward messages to another address

    I would like to be able to redirect all mail received on my address [email protected] or [email protected] to be automatically redirected to another address (a gmail address) so that I can pick up my mail from one place and present in my reader emails in one place.

    Is this possible?

    Thanks for any info.

    Have you tried to configure the Mail application to register your Gmail account and have everything in the incoming Mail mailbox:

  • How set the value of a LOV in CO prgramatically and get the Pkey value?

    Hello

    I need to get the Primaykey LOV will return and set a value for a LOV, say ItemLOV in a page through CO. How can I achieve this?

    Req:
    1. set the nom_element, say "DELL_1618" so that the page displays this in the LOV.
    2 get the PK value returned by LOV in the backend in an attribute of VO say Item_ID, ' 100009881'.

    Thank you
    Sicard.

    Hi Santosh,

    Sorry, I responded to general LOV scenario, but want to put it right,

    You need run your LOV query to the controller for the "DELL_1618" element using the prepared command, get the value of the value display and Id and assign the LOV and FormVlaue in the PR of the controller.

    Kind regards
    Out Sharma

  • 10g - how to get the total overall totals

    I need to generate a report of sales of products and companies with 3 columns of running totals. The columns are the amounts of gross sales,
    the commissions earned and net premiums (gross sales - commissions earned). As each item in the purchase order, a record (transaction.transaction_id) is created and also
    inserted into the table transaction_link as FK (transaction_link.trans_settle_id). When transaction_link has all the elements necessary to complete the order, the seller receives
    his commission and totals to add to the report.
    screwdrivers
              gross premium     commission     net premium(gross - commission)
    philips               1000     300          700
    sears               500     200          300
                   ===     ===          ===
    screwdriver      ttl     1500     500          1000
    
    power drills
    dewalt               1000     300          700
    makita               600     200          400
                   ===     ===          ===
    power drill      ttl     1600     500          1100
    
    grand total          3100     1000          1100
    Here are the tables
    provider - prov_id (pk)
    PRODUCT_TYPE - prod_type_id (pk)
    transaction-transaction_id (pk), amount, dealer_commission
    transaction_link - trans_settle_id, trans_trade_id, trans_type


    I'm using the With clause, if I understand correctly it is very effective, but all the other tips are welcome:
    WITH getSettlementTransaction AS
      (SELECT transaction_id
      FROM transaction trans
      WHERE trans.trans_type_id = 9
      AND trans.PROV_ID         = 25
      AND trans.TRADE_DATE BETWEEN '1-SEP-05' AND TRUNC(SYSDATE)+1
      ),
      getWireTransaction AS
      (SELECT trans_trade_id,
        trans_settle_id,
        trans.prov_id,
        prov.prov_name,
        trans.amount,
        trans.dealer_commission,
        trans.prod_type,
        prod.product_type
      FROM transaction_link,
        transaction trans,
        provider prov,
        product_type prod
      WHERE trans_link_type_id = 3
      AND trans.transaction_id = transaction_link.trans_trade_id
      AND prov.PROV_ID         = trans.PROV_ID
      AND trans.prod_type      = prod.product_type_id
      AND trans.TRADE_DATE BETWEEN '1-SEP-05' AND TRUNC(SYSDATE)+1
      )
    SELECT prov_name,
      product_type,
      SUM(amount) gross_premium,
      SUM(dealer_commission) commission_earned ,
      SUM(amount) - SUM(dealer_commission)
    FROM getWireTransaction,
      getSettlementTransaction
    WHERE trans_settle_id = transaction_id
    GROUP BY prov_name,
      product_type;
    net premium of the gross premium commission (gross-commission)
    Philips 1000 700 300
    Sears 500 200 300

    But it doesn't give me the total for each vendor and does not include totals as I need.
    Any guidance would be appreciated. Thank you.

    Hello

    Achtung wrote:
    It's great! Is it possible to format?

    DEPTNO:10
              ENAME               SAL
          ---------------      ----------
    CLARK                 2450
    KING                  5000
    MILLER                1300
    Dept. Total         8750
    DEPTNO:20
    ADAMS                 1100
    FORD                  3000
    JONES                 2975
    SCOTT                 3000
    SMITH                  800
    Dept. Total        10875
    DEPTNO:30
    ALLEN                 1600
    BLAKE                 2850
    JAMES                  950
    MARTIN                1250
    TURNER                1500
    WARD                  1250
    Dept. Total         9400
    
    Grand Total        29025
    

    I don't know how to make a line like "DEPTNO:10" before the header. It was maybe just a typo.

    GROUP OF ROLLUP (or GROUP BY GROUPING SETS) will produce an great aggregate (such as 'Dept 9400 Total') line for each distinct value of the column rolled up. It looks like you want two of these lines: one at the beginning of each Department ("DEPTNO:30") and the other at the end ("min. Total 9400'). I don't know if you can get in a single subquery with GROUP BY. You can get it without a doubt with the UNION.

    WITH     union_results     AS
    (
    --     This branch of the UNION produces the header row for each department
    --     (and also the blank row before the grand total)
    --
         SELECT       deptno     AS raw_deptno
         ,       CASE
                   WHEN  GROUPING (deptno) = 0
                   THEN  'DEPTNO: ' || deptno
                END          AS display_deptno
         ,       NULL          AS ename
         ,       NULL          AS sal
         ,       1          AS group_num
         FROM       scott.emp
         GROUP BY  ROLLUP (deptno)
              --
         UNION ALL
              --
    --     This branch of the UNION produces the rows for each employee, and the "Total" rows
    --
         SELECT       deptno     AS raw_deptno
         ,       NULL          AS display_deptno
         ,       CASE
                   WHEN  GROUPING (deptno) = 1     THEN   '  Grand Total'
                   WHEN  GROUPING (ename)  = 1     THEN   '  Dept. Total'
                                             ELSE   ename
                END          AS ename
         ,       SUM (sal)     AS sal
         ,       CASE
                   WHEN  GROUPING (ename) = 0
                   THEN  2
                   ELSE  3
                END          AS group_num
         FROM       scott.emp
         GROUP BY  ROLLUP (deptno, ename)
    )
    SELECT       display_deptno     AS deptno
    ,       ename
    ,       sal
    --,       group_num
    FROM       union_results
    ORDER BY  raw_deptno
    ,       groUp_num
    ,       ename
    ;
    

    Results:

    DEPTNO       ENAME                  SAL
    ------------ --------------- ----------
    DEPTNO: 10
                 CLARK                 2450
                 KING                  5000
                 MILLER                1300
                   Dept. Total         8750
    DEPTNO: 20
                 ADAMS                 1100
                 FORD                  3000
                 JONES                 2975
                 SCOTT                 3000
                 SMITH                  800
                   Dept. Total        10875
    DEPTNO: 30
                 ALLEN                 1600
                 BLAKE                 2850
                 JAMES                  950
                 MARTIN                1250
                 TURNER                1500
                 WARD                  1250
                   Dept. Total         9400
    
                   Grand Total        29025
    

    The subquery is needed only to hide a part of the ORDER BY columns.
    You can comment the group_num column in the SELECT clause, to see how it works.

  • Get the default value for class LV 1498 error

    I call get the Default Value.vi LV class to dynamically load a class.

    It was working fine until I added Open Config Data.vi to read an .ini file.

    The application works fine when I press the button RUN in the LabView development environment, but when I create the executable file with Application Builder and then run it, I get:

    "1498 error occurred getting class LV Default Value.vi"

    Possible reasons:

    LabVIEW: Library has errors. Correct the errors before performing this operation.

    «"" "String of full appeal:»»"»

    Download LV class by default Value.vi

    Test.VI

    LabVIEW has tried to load the class in this path:

    g:\cal\devices\Digital300Meter\Digital300Meter.lvclass

    I narrowed the problem down to open Config Data.vi included in the application, not in the class. I don't have to call the Open Data of Config vi to get this error.

    I have a Subvi, called "SelectDevice" which refers to Open Data from Config. In my main Test.vi SelectDevice is in the true case of a true/false case structure, which is set to False.

    If I put a design schema off around the Open Data of Config vi, I do not get the error.

    I suspect that including Open Config Data include a VI in the application that interferes with the LV ranks by default.

    Thank you, it works!

    I also put the additional Exclusions page as follows:

    Disconnect the type definitions - verified

    Remove unused polymorphic instances of VI - verified

    Remove unused libraries project - members verified

    Change the project library file after removing unused members - unaudited

  • Is there a way to get the total number of samples to a TDMS file?

    I'm looking at the documentation for the function of properties Get TDMS and I see that it has a property: wf_samples which "represents the number of samples in the first data segment. Is it possible to get the number of samples in, say, the second segment of data? My goal is to get the number of samples in all segments of data for a single channel.

    To retrieve the total number of samples, I use the properties of 'NI_ChannelLength' to be linked to the function of TDMS properties get.

    The I64 outbut gives you the total number of samples of the selected channel.

    See attachment so useful

    Marco

  • Unable to get the total number of records processed by the processor of trade rules

    Details of the environment

    ======================

    Disqualification Version: 12.1.3.0.0


    I use a business rules processor to implement multiple business rules on one record and I am looking for a summary of the number of records increased and does not have a specific rule.


    To illustrate:
    Suppose there are 2 rules, invalid number in Column1 and valid number on Column2.
    10 records to process and 3 folders don't rule 1 (valid on column1) and 9 entered failure of rule 2 (valid number on Column2).

    In the browser of result of the processor Business, the number of past records and failed is displayed but is not part of the output of the processor itself. In the example above, there will be 1 pass and 9 fail records and given the values of said the total number of records can be derived which is 10.

    This is why the expected output will be:
    Success of failure
    Rule 1:7 (10-3) 3
    Rule 2: 1 (10-1) 9
    Note: The number of records that failed can be derived from the table of the rule ID but I don't know how to get the total number of records in order to calculate the number of records that a given rule.

    I tried to publish the County of acceptance and rejection in the browser of result of the processor Business in an intermediate table and ask the same intermediate table to get the pass and fail values but Disqualification does not allow to write and read the same intermediary object in a single process. What is the best way to get the number of records total handled by the processor business rules? This kind of attributes (that do not exist only in the browser of result) can be included in the output of the processor in the next version of the Disqualification?

    In addition, the intermediate table contains only 1 sheet with pass and failure values while the exceptions which have individual failure on each rule contains 12 Archives. What would be the best approach to merge a single record into multiple records according to the example below?

    Staging table
    Success of failure
    1 9

    Exception table
    Single ID ID rule
    Rule 1 Record1
    Rule 1 Record2
    Rule 1 record Record3
    Rule 2 Record1

    Exception table with: staging Table data merge
    Rule ID ID Unique Pass Fail Total
    Rule 1 1 9 10 Record1
    Rule 1 1 9 10 Record2
    Recording rule 1 Record3 1 9 10
    Record1 rule 2 1 9 10

    Please notify.

    Hi Jason,

    The best way to explain how to do this is with an example project (DXI). I'll send you one in offline mode.

    -Mike

  • Is it possible to get the number of execution of workflow on a cluster of servers Orchestrator / via REST?

    Is it possible to get the number of running workflows on a cluster of servers Orchestrator / through REST? Ideally without checking the status of all executions for each workflow.

    We lack 5.5.2 but would be interested to know if this is a feature available in more recent versions also.

    Hello

    Endpoint following REST will return all executions whose state is "ongoing". In the returned body, the top-level element has an attribute 'total' with the number of items returned.

    https://vcohost:8281 / vco/api/catalog/system/WorkflowExecution? conditions = State = running

  • is it possible to get the EPS encoding (IE.. BINARY, ASCII, ASCII85)

    Hello world

    is it possible to get the ASCII85 encoding BINARY, ASCII, EPS, JPEG (low)...

    Thanks in advance.

    1.jpg

    -yajiv

    The format of Photoshop EPS files is partially documented here:

    http://www.Adobe.com/devnet-apps/Photoshop/fileformatashtml/#50577413_pgfId-1035096

    Photoshop includes a comment in the EPS so that it is able to read, it writes files insert it again. Third-party programs that write files EPS pixel-based can include this comment in EPS files, so that Photoshop can read their files.

    The comment must follow immediately after the % block of comments at the beginning of the file. The comment is:

    %ImageData: ""

    : Width of the image in pixels.

    : Height of the image in pixels.

    : Number of bits per channel. Must be 1 or 8.

    : Picture mode. Image bitmap/levels of gray = 1; Lab = 2; RGB = 3; CMYK = 4.

    : Number of another string in the file store. Ignored when reading. Photoshop uses this to include a grayscale image that is printed on PostScript printers without colors.

    : Number of bytes per line per channel. Will be 1 or formula (see below):

    1 = data are interleaved.

    (columns * depth + 7) / 8 = data are stored in line-interlaced format, or there is only a single channel.

    :

    1 = data in binary format.

    2 = data in hexadecimal ascii format.

    : PostScript the line immediately preceding the image data. This entire line should not occur elsewhere in the PostScript header code, but it can happen to part of a line.

    In addition, some information about other values of can be found here:

    http://Python.6.X6.Nabble.com/correctly-determine-image-size-of-a-Photoshop-EPS-td2096786. HTML

    1 - binary

    2 - ascii

    3 - jpeg low quality

    4 - jpeg medium quality

    5 - jpeg quality

    6 - jpeg maximum quality

    7 - ascii85

    This is a test script using this information:

    function main ()
    {
        function isPhotoshopEPSFile (f)
        {
            return (f.type === 'EPSF') || f.name.match (/\.eps$/i);
        }
        var epsFilter =
            (File.fs === "Macintosh") ?
                function (f) { return (f instanceof Folder) || isPhotoshopEPSFile (f) } :
                "Photoshop EPS Files:*.eps,All Files:*.*";
        var epsFile = File.openDialog ("Open Photoshop EPS file:", epsFilter);
        if (epsFile)
        {
            if (epsFile.open ("r"))
            {
                while (!epsFile.eof)
                {
                    var line = epsFile.readln ();
                    var found = line.match (/^%ImageData:\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)/);
                    if (found)
                    {
                        var dataFormatIndex = found[7];
                        var dataFormats =
                        [
                            "Binary",
                            "ASCII",
                            "JPEG (low quality)",
                            "JPEG (medium quality)",
                            "JPEG (high quality)",
                            "JPEG (maximum quality)",
                            "ASCII85"
                        ];
                        alert (dataFormats[dataFormatIndex - 1]);
                        break;
                    }
                }
                epsFile.close ();
            }
        }
    }
    main ();
    

    HTH,

    Domestic-

Maybe you are looking for

  • Skype won't leave... Help!

    Help! I use a 13-inch, late 2011 MacBook Pro running OS X Yosemite version 10.10. I had open Skype yesterday and when I try to quit smoking, it is said "Application is not responding do not. It is not close, reopen, whatever it is. Help, please!

  • Print selection is not available

    I have Firefox version 3.6.6 with Windows Vista. When I select a portion of a web page and go to print, the print selection button is grayed out. Is it possible to print a selected portion of a web page? This has happened Each time Firefox opened

  • Can someone help me understand how the URL handlers work and how they can be used to launch AppleScripts links?

    Preface: -I'm not a complete noob, but Applescript is my first programming language -J' have been able to write scripts that are useful for a variety of tasks, but especially the interaction between the Excel and numbers -I consider myself to be an a

  • Spinning wheel

    I recently started having a spinning wheel on some sites using Safari.  Support only some of the pages.  I downloaded Firefox to see if I would have the same problems, and I did not.  I prefer to use Safari, and I would like to know why this problem

  • Pavilion p 202nt: (rtwlane.sys) DRIVER_IRQL_NOT_LESS_OR_EQUAL ERROR HP PAVILION P202NT WİNDOWS 10 64-BIT

    Spoiler (Highlight to read) DRIVER_IRQL_NOT_LESS_OR_EQUAL (rtwlane.sys) DRIVER_IRQL_NOT_LESS_OR_EQUAL (rtwlane.sys) I have a problem with my pc when I use a blue screen happens and DRIVER_IRQL_NOT_LESS_OR_EQUAL (rtwlane.sys) occurs, what can I do I d