Parameters in export function

Hi,
I'd like to use the export function to have a bmp file with 300dpi and windows format.
It was found that the function have 3 parameters,
1st - filename to be saved
2nd - AiExportType (Flash,GIF,JPEG,Photoshop,PNG24,PNG8,SVG)
3rd - optional
Is there any idea for the 2nd and the 3rd parameters that needed in order to have a 300dpi and windows format bmp file export out?
Or, is the function not allow to export a bmp file? If so, any work around function to do so?
Please advise. Thank you.
Best Rgds,
HenryL

Might be possible with a mix of illustrator/photoshop scripting ... with something like this(didn't test it because of time considerations but should work):
var v_doc = app.activeDocument;
var v_psFileName = v_doc.path.fsName + "/export.psd";
exportFileToPSD(v_psFileName);
function exportFileToPSD (dest, doc) {
    if ( app.documents.length > 0 ) {
        var exportOptions = new ExportOptionsPhotoshop();
        var type = ExportType.PHOTOSHOP;
        var fileSpec = new File(dest);
        exportOptions.resolution = 300;
        app.activeDocument.exportFile( fileSpec, type, exportOptions );
photoshop.open(new File(v_psFileName));
var s_script = "var v_doc = app.activeDocument; var opt_bmpExport = new BMPSaveOptions(); opt_bmpExport.alphaChannels = true; opt_bmpExport.depth = BMPDepthType.TWENTYFOUR; opt_bmpExport.osType = OperatingSystem.WINDOWS; opt_bmpExport.rleCompression = true; v_doc.saveAs(new File(" + v_doc.path.fsName + "/exportasBMP.bmp), opt_bmpExport, true, Extension.NONE);";
photoshop.executeScript(s_script);
cheers;

Similar Messages

  • What are the different types of parameters available in function builder an

    What are the different types of parameters available in function builder and where do we use them.

    The different type of parameters available in FM are
    Import - They are used to pass the values to the function module.
    Export- They are used by FM to pass the result back to the calling program.
    Changing - The variables are passed to the FM and can be changed during the FM processing.
    Tables - Internal tables can be passed to the FM (it works similar to changing parameter).

  • How to pass parameters to ABAP function in Crystal report

    Hi All,
    I am creating a Crystal report on top of SAP ECC 6.0. I am trying to call ABAP functions. But I am not able to see an option to pass any parameters to the function.
    Can you please help with how to pass a parameter to a ABAP function?
    Thanks
    Chetan

    Hi there,
    we thought we found the problem. But the ABAP function is now RFC compatible and i still do not see the export parameters of the ABAP function in Crystal.
    Question: The ABAP function does not deliver columns as the result but a table instead. Could this be the problem? Regarding to this we will have to change the output functinality of the ABAP-function to teliver colums instead of a table.
    Thanks for your help,
    regards
    Sebastian

  • Parameters of the functions importFiles() and exportTimeline() in Premiere Pro Extension

    Hi, Can anybody explain the parameters of the functions importFiles() and exportTimeline() in Adobe Premiere Pro Extension Builder?  I used an Array of String(File paths) as the parameter for importFiles(), And it worked out. But can we give anything else as the parameter for that function? Because it shows "Object" is the actual parameter for importFiles(). And what about exportTimeline()? I don't have any idea about that function.
    Thanks in advance.

    Hello!
    You are correct; importFiles() takes an array of strings.
    exportTimeline() is exercised in the SDKPanel sample, available here:
    https://workspaces.acrobat.com/?d=NJnaZfBRpmwGwrzOFEWRAA
    The only argument is the match name of the Export Controller in question; the sample panel uses the SDK Export Controller sample, from the Premiere Pro C++ SDK:
    http://www.adobe.com/devnet/premiere/sdk/cs6.html

  • Parameters of  I_INTERFACE_CHECK function

    Hello ABAPer,
    I need parameters  of  I_INTERFACE_CHECK function .
    I know some parmeters
    but I need all  parameters 's tasks
    I must learn all parameters ...

    Thank You  answer Nitesh Jain ,
    CALL FUNCTION 'I_INTERFACE_CHECK '
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                =
      I_BUFFER_ACTIVE                   =
        i_callback_program                =  'ZS0009RE_ALV1'
        i_callback_pf_status_set          = 'GUI'
        i_callback_user_command           = 'USER_COMMAND'
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
        i_background_id                   = ''
        i_grid_title                      = 'Menkuller'
       I_GRID_SETTINGS                  =
        is_layout_lvc                     = gs_layout
        it_fieldcat_lvc                   = gt_fcat
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS_LVC             =
      IT_SORT_LVC                       =
      IT_FILTER_LVC                     =
      IT_HYPERLINK                      =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
    "  is_variant                        = variante
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT_LVC                      =
      IS_REPREP_ID_LVC                  =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
      IT_ALV_GRAPHICS                   =
      IT_EXCEPT_QINFO_LVC               =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        t_outtab                          = gt_menkuller
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    this is my function  I use ALV but I need another parameters
    for example I_INTERFACE_CHECK  = ' ' paramters
    what is it task ?
    thanks

  • Unable to retrieve parameters from RFC Function Module

    Hi All,
    I have created a model for the RFC Enabled function module BAPI_BUPA_CENTRAL_GETDETAIL within my webdynpro program. I am passing parameters to the function module BAPI_BUPA_CENTRAL_GETDETAIL and I have validated that this is being passed correctly by displaying the passed value from the node of the input parameters.
    Code used to pass input parameters -
      IWDMessageManager manager = wdComponentAPI.getMessageManager();
       try
          wdContext.currentBapi_Bupa_Central_Getdetail_InputElement().modelObject().execute();
          size = wdContext.nodeCentraldataperson().size();     
          wdComponentAPI.getMessageManager().reportSuccess(Integer.toString(size));
          wdContext.nodeOutput().invalidate();
       catch(WDDynamicRFCExecuteException e)
          manager.reportException(e.getMessage(), false);
    I also see that it returns 1 record by using the code below:
    IWDMessageManager manager = wdComponentAPI.getMessageManager();
       try
          wdContext.currentBapi_Bupa_Central_Getdetail_InputElement().modelObject().execute();
          size = wdContext.nodeCentraldataperson().size();     
          wdComponentAPI.getMessageManager().reportSuccess(Integer.toString(size));
          wdContext.nodeOutput().invalidate();
       catch(WDDynamicRFCExecuteException e)
          manager.reportException(e.getMessage(), false);
    But, when I try to retrieve the value returned it does not fetch that value -
       Bapi_Bupa_Central_Getdetail_Output getdata = wdContext.nodeBapi_Bupa_Central_Getdetail_Input().nodeOutput().currentOutputElement().modelObject();
       Bapibus1006_Central_Person[] getres = new Bapibus1006_Central_Person[size];
       for(int i=0; i<size; i++){
            wdComponentAPI.getMessageManager().reportSuccess(Integer.toString(i));
            getres<i> = getdata.getCentraldataperson();
              //String fullname = wdContext.nodeBapi_Bupa_Central_Getdetail_Input().nodeOutput().nodeCentraldataperson().getElementAt(i).getAttributeValue("Fullname").toString();
            String fullname = getres<i>.getFullname();
           fullname += Integer.toString(i);
            wdContext.currentContextElement().setFullname(fullname);
            wdComponentAPI.getMessageManager().reportSuccess("fullname:" + fullname);
    It always returns 0 or null. Can someone please help me with this issue. The BAPI returns values in structure format and not internal table and hence I dont see the issue there as well.
    What can be the problem?
    Thanks for all your help in advance.
    Best regards,
    Divya

    Nikhil / Srihari,
    I changed my code and it now looks like -  I am trying get the return value into the context fullname but i still cant get the value although the size of nodeCentraldataperson() is thrown as 1 and the input is being passed correctly as i have validated this in this line of code [wdContext.nodeBapi_Bupa_Central_Getdetail_Input().currentBapi_Bupa_Central_Getdetail_InputElement().getBusinesspartner();]
    IWDMessageManager manager = wdComponentAPI.getMessageManager();
       try
          wdContext.currentBapi_Bupa_Central_Getdetail_InputElement().modelObject().execute();
          size = wdContext.nodeCentraldataperson().size();     
          wdComponentAPI.getMessageManager().reportSuccess(Integer.toString(size));
          wdContext.nodeCentraldataperson().invalidate();
       catch(WDDynamicRFCExecuteException e)
          manager.reportException(e.getMessage(), false);
         for(int i=0; i <size; i++){
              String name = "FullName: ";
              wdContext.nodeBapi_Bupa_Central_Getdetail_Input().nodeOutput().nodeCentraldataperson().setLeadSelection(i);
              name += wdContext.nodeBapi_Bupa_Central_Getdetail_Input().currentBapi_Bupa_Central_Getdetail_InputElement().getBusinesspartner();
              name += wdContext.nodeBapi_Bupa_Central_Getdetail_Input().nodeOutput().nodeCentraldataperson().currentCentraldatapersonElement().getFullname();
              wdContext.currentContextElement().setFullname(name);     
    Any idea what could be wrong?
    Thanks,
    Divya

  • How to declare Dynamic table in Tables Parameters of a Function Module...

    Hi Gurus,
    I would like to Know how to declare a Dynamic table in Tables parameters of a Function Module.
    so that it should be able to hold any table data ....
    I have tried all possible ways of trying to assign fields-symbol like declarations which doesnt allow here ...
    plz Dont reply with the basics of creating dynamic internal tables, coz my case is not an Internal table it is FM table parameter declaration.....

    Hi,
    If you are requirement is to create a function module with tables parameter having a generic line type i.e. no specific line type
    just declare it with a name under Parameter name with out specifying the type.
    A reference function module with such parameter, i would quote is the standard GUI_UPLOAD/ GUI_DOWNLOAD where the parameters specified under TABLES are generic.
    If you want to process the values passed to these parameters in the source code of function module, field symbols would be a preferable option.
    Regards,
    Sharath Panuganti

  • Export functionality doesn't work properly in reports post upgrade to EHP1

    Dear Experts,
    We have recently upgraded our BI system to EHP1 SP 7. Pre-upgrade the export functionality (to excel or pdf) was working fine, however post-upgrade in few reports we have encountered some issues.
    In a couple of reports the exported excel is blank, in some reports, few web items are displayed properly but others not and  in some reports exported excel or pdf is as it was pre-upgrade.
    Could you please suggest any note or any solution which could fix this issue?
    Thanks!
    Edited by: IlaSAP on Apr 14, 2011 10:01 AM

    After further analysis I find that the issue happens with only those reports in which export to excel/pdf is done using a webitem which is hidden in web template. If the web item is made visible the data is exported to the excel/pdf and if hidden again it again results in blank excel/pdf.
    Please suggest any solution to this issue.

  • Export function not working in Internet Explorer

    so i've got a report displayed in IE, but when i go to export to any file format, IE opens a new tab and that's it. depending on certain settings (like adding the server to intranet zone), i can get the new tab to say nothing or "Blank Page".
    i've tried adding the server to the safe zones, i've played with some tabs settings, i enabled the "run active x" options...
    finally i reset all settings of IE to their defaults. i still can't figure out what i'm missing. if i copy the url to another browser the export works fine, as expected. on another machine i found this "rsclientprint 2008" addon so i downloaded
    that but i still got nothing.
    on a working machine, when i click the export button, a new tab opens with the name of the reporting server in it, it thinks a bit, then that tab closes and i get the "open or save" message in the original tab. on the one that's not working, it
    opens the new tab, DOESN'T show the server name and that's the end of it. so it seems like it can't connect to the server on the export function. (but report creation works just fine)
    anyone know of anything glaring that i'm missing??
    ~if this were /. this sig would be funny

    good call - i'll try that now.
    the app i had installed before was Classic Shell so that Windows Explorer's (win7) left hand pane doesn't jump around on you when you double click.
    i just completely uninstalled the application and rebooted. still nothing.
    going to do a repair while classic shell is uninstalled. brblol
    UPDATE:
    so i couldn't run the IE installer (per MS suggestions) because i have a newer version. so i tried the fixer that i found here:
    http://support2.microsoft.com/mats/ie_performance_and_safety
    and it found the following "errors":
    Issues found
    Data Execution Prevention disabled
    Detected
    Enable Data Execution Prevention
    Not Run
    Security settings
    Detected
    Reset Security settings
    Not Run
    Pop-Up Blocker disabled
    Detected
    Enable Pop-Up Blocker
    after fixing, the problem still exists!
    ~if this were /. this sig would be funny

  • Export function is not working.

    Hello gurus,
    I am using the export function and I am unable to download the tsv file.
    We have 2 development instances (both R12) and it works on one of them but not the other.
    The file I am trying to export is under OM\Quick Order Organizer\Holds Information tab\Hold Sources button. Menu: File, Export
    At the decision dialog, select Continue to End then the exporting data form pops up for a split second and goes away with no export tsv file created.
    Can someone help me with this. Thank you!

    Please review the database log file for any errors.
    Also, make sure all pop-up blockers are disabled at the client side.
    Please go through the troubleshooting docs referenced in the old threads for similar discussion -- http://forums.oracle.com/forums/search.jspa?threadID=&q=Export+not+Working&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Lightroom 5.3: cannot resize a pict in export function with "bord etroit" parameter.

    After install Lightroom 5.3 we cannot resized a pict in export function with "bord etroit" parameter. It's good with "bord large"!...
    Regards
    Jacques

    DanCarr wrote:
    I'm sure this was working in the previous version......
    Yep - new bug in Lr5.3 (presumably will be fixed in Lr5.4).
    More info here:
    http://feedback.photoshop.com/photoshop_family/topics/publish_service_harddisk_ignores_ima ge_sizing_resize_to_fit_short_edge_setting_when_source_image_is_a_dng_on_lightroom

  • How to pass parameters to planning function in WAD

    Hi All,
    I want to pass parameters to planning function in WAD. Pls suggest how can I do that.
    Thanx
    Amit Jain

    Hi Amit,
    insert your planning function as a command in WAD ("EXEC_PLANNING_FUNCTION"). In the screen where you enter the technical name of your planning function you can also insert Data Bindings. There you can do a selection binding for a special characteristic or a variable value. If you want to assign a static (fix) value to a variable for example you can do a variable binding (technical name of variable/variable type "Variable Input String"/Variable Input String: set the required value).
    The same thing can be done executing planning sequences within WAD.
    Brgds,
    Marcel

  • Export functionality

    hi all
    i am using apps forms at the front end.
    whenever i access any field from a remote database
    the forms export functionality does not work
    can any one help me how to make it work ?
    plzz help me
    mandar

    hi
    i am applying my forms on apps
    there is an option to export the databse to a text file
    when i click export all the records that are queired are copied to database
    thanks
    mandar

  • How to pass parameters to Responder functions?

    Hi guys,
    Im using AMFPHP, and would like to pass some paramteres to Function in Responder, how can i do that?
    new Responder('success', 'fault'); // I would like to pass few simple parameters to success function.
    Saludos
    marcin

    try following, you may provide the type for event argument in function(event)
    new Responder(function(event):void{actualFunction(evnet,yourParam);}, 'fault');

  • Export function

    Hi,
    I've to re create three tables on a different system... for which i need to export from one environment and import the dmp in another, there are a couple of thing i would like to know
    1) how can i use the export function to take multiple tables and put it in a single dump
    2) what would be better , create backup tables for these and then export coz in the other environment similar tables exist, or is it possible to remane these tables while exporting
    the tables have large number of records in them... the database is Oracle9i Enterprise Edition Release 9.2.0.8.0
    Regards,
    Romel

    Hi,
    1) how can i use the export function to take multiple tables and put it in a single dump
    Example :
    EXP SCOTT/TIGER GRANTS=Y TABLES=(EMP,DEPT,MGR)
    EXP SCOTT/TIGER GRANTS=Y TABLES=(T1:P1,T1:P2) = > for partitioned table
    2) what would be better , create backup tables for these and then export coz in the other environment similar tables exist, or is it possible to remane these tables while exporting
    That depends on the your requirement, then is an Option "IGNORE" => ignore create errors (default value is N)
    http://www.orafaq.com/wiki/Import_Export_FAQ
    - Pavan Kumar N
    Edited by: Pavan Kumar on Sep 24, 2008 4:48 PM

Maybe you are looking for

  • Create and write form output to text file

    HI am pretty new to this and have a prob. I have 10 fields in my form submitting which i need to create and write the form field values into an xml fil..this file is further used for other read write transactions. Can somebody help creating and writi

  • Upgrading my MBP to 16 gigs of RAM - 1.35 volt vs. 1.5 volt?

    Hey all, There does not seem to be a diffinitive answer to this question.  The picture below is of the existing ram in my Apple MacBook Pro 2.2GHz Intel Core i7 (15-inch DDR3) Early-2011.  When I look this RAM up to find out the voltage, it appears t

  • Problem printing elements 12 to epson r1800 windows 8.1

    I have  been successfully using PSE to print to epson  with windows xp and windows 8.1.  I got a new computer (HP i7) also 8.1 and now the color and lighting are awful.  I have taken all the usual steps (color management, printer head cleaning and al

  • Background & Buttons Created in Photoshop

    I want to: A. burn a Widescreen (16:9) DVD; B. which has a still background with some buttons which, when pressed, will take the viewer of the DVD to the appropriate part of the DVD; C. I want to make this background and the buttons in Photoshop. The

  • Why doesn't my Bus Cat Muse upload show up as a Temporary Site?

    I just finished the intro tutorial on Muse and uploaded the Katie's Bakery site as instructed in the tutorial. It is now "live" as a temporary site on the businesscatalyst.com domain. However, when I review my "My Assets" page (assets.adobe.com/websi