GIF Format Options

I'm trying to add GIF settings for Save for Web and Devices to a script I have.  It has 2 different areas for FileSaveOptions (shown below).  Can someone please tell me how or where do I tell the script to incorporate each of the settings in the attached example?
self.gifTransparency = true;
self.gifInterlaced = false;
case "gif": {
      saveOpts.transparency = toBoolean(fsOpts.gifTransparency);
      saveOpts.interlaced = toBoolean(fsOpts.gifInterlaced);
      saveOpts._convertToIndexed = true;
      saveOpts._flatten = true;
      saveOpts._8Bit = true;
      break;

Yes, you can set lossy with the Object Model.
var gifOptions = new ExportOptionsSaveForWeb();
gifOptions.colorReduction = ColorReductionType.SELECTIVE;// the default  enumeration
gifOptions.PNG8 = true;// needed to force index mode
gifOptions.colors = 256;// the default value
gifOptions.dither = Dither.DIFFUSION;
gifOptions.ditherAmount = 100;// the default value
gifOptions.transparency = true;// default = false
gifOptions.lossy = 10;// default = 0;
Just to be clear, once you have the code from the scriptlistener log you can use that in your script.

Similar Messages

  • Graphics format options in Save As HTML?

    I'm using FrameMaker 8.0 independently (not as part of the TCS), on Windows XP.
    I'm creating HTML files from the FrameMaker files by choosing the "Save As" option and then choosing HTML. This always saves the images in the file in the .gif format. I would like them to be saved in Windows .bmp format. Currently, my workaround is to replace the .gif files with the original .bmp files, and then tweak the HTML code to refer to the .bmp files. This works, but it's time-consuming.
    I don't see any option in the FM preferences or anywhere else, to select an output format for images. Is there a way to do this?
    (As an aside, can this be done easily in the Tech Comm Suite?)
    Thanks,
    Joyce Wermont

    Joyce,
    I have not worked with saving Frame files as HTML, so I do not know what resolution the images are saved in. However, the gif format has no restriction on resolution, though some applications may assume it to be 72 dpi (not sure about this).
    Anyway, you can open your bmp files in Photoshop or some other image editor, and save them as gif with the same resolution as the bmp files. Because gif is limited to 256 colors, I suggest converting the bmp files to indexed color before saving as gif. You can replace the gif files created with Frame with the ones you create from Photoshop, using the same names, and the HTML will see them. If the HTML displays them largish, you can set the sizes in the HTML code.
    Van

  • Photoshop cs3 cant open Png or Gif formats?!? a.s.a.p please help!

    i have photoshop cs3 and for some reason every once in a while photoshop cant open gifs or pngs? when i try to save one on the format options it doesnt show either png or gif as an option? i know you can save as web and devices but i really need to get it fixed beacuse i need to open my gif and png pictures please help?

    Can you open them in other programs?
    They are not Photoshop-only formats.

  • Converting an image as a blob content from .gif format to .jpg format

    Hi
    Does anyone know how to convert a blob content from .gif format to .jpg format?
    I've tried looking at the process-method of intermedia, but I can't figure out how it's supposed to work... I'm on a 10.2.0.2 standard edition database
    I simply have a blob containing a gif-image, and I want it to be convertet to a jpg-image for further use
    Can anyone help?
    Thank you
    /Klaus Mogensen

    Hi
    Does anyone know how to convert a blob content from
    .gif format to .jpg format?
    I've tried looking at the process-method of
    intermedia, but I can't figure out how it's supposed
    to work... I'm on a 10.2.0.2 standard edition
    database
    I simply have a blob containing a gif-image, and I
    want it to be convertet to a jpg-image for further
    useWhat OS is the database running on? If it is a *nix flavour, you can call out to image magick convert utility (it is pre-installed on most linux variants, and you can compile it from source for other unixes). So you would probably store the blob into a temp file on the database server, call out to the shell to execute convert, and then load a blob from the converted file. See http://imagemagick.org for more information.
    If that is not an option, you might be able to use Java Advanced Imaging API from a Java stored proc to convert between those image formats. See http://java.sun.com/products/java-media/jai/downloads/download-1_1_2.html
    gojko adzic
    http://gojko.net

  • How to provide text formatting options to user from a text field

    Hi,
    My requirement is - in the interactive form, a comments field needs to be provided where user should be able to enter text with formatting options like
    Headers
    indentations
    bold/italic
    bullet points and numbers
    Once user enters the formatted texts in a text field, data needs to be displayed/printed in the same format. Could you help me on how to provide these formatting options to the user for a particular text field?
    I understand that once I define the text field with format XHTML (with RTF), user formatting can be captured and displayed in the same way. But I am not sure on how to provide the formatting options for the text field.
    Thank you,
    Madhu

    Hi,
    if you select a text field for Rich Text and the press Ctrl + E you'll get a bar for all available text formatting options in Acrobat/Reader.

  • Text formatting options

    Hi,
    Is there a list somewhere which outlines more text formatting options than what is shown in the FAQ?
    In particular I'm wondering how to make text that does not suppress white space other than using the "code" tag.
    Also, the insert link option a shown above does not seem to work, or am I just stupid?
    Thanks.

    Dude wrote:
    Also, the insert link option a shown above does not seem to work, or am I just stupid?That one has not been working for a couple of years or so. There should be a thread about it in this forum.
    Instead, I'm using [ url=<insert link here> ] text [ /url ] (without the extra spaces in tags). Normal html link tag might work as well.

  • Duplicate File Format options in Save As Dialog

    I am getting duplicate file format options in my save as dialog. I am running photoshop 12.0.1 on mac os x 10.6.4.

    Thanks for the answer, I have the same problem, happened after I uninstalled CS4, (using cs5 now) however I can't seem to find where the duplicates are located. Any tips as to where I should look?
    Thanks in advance!

  • Email functions - formatting options, PDF attachme...

    I was typing an email and liked the autocorrect function, auto spacing...
    BUT there are no text formatting options whatsoever??
    There is no undo button??
    There is no attachment capability..only pics.?? No PDF, word, excel??
    Moderator's note: We have provided a subject-related title to help other forum users easily view and respond to this post.

    Sorry I ain't done yet. My trigger happy go lucky phone send the message at a flash. I tried to work around the none formatting issue using the word in the office but as I could not get it to work as expected within reasonable amount of time and number of tries I gave up. If you format a phrase and copy it it just copies the last format and ignores the copied formatting. Plus how do you make the f. Keyboard go away easily? Why internet has no forward arrow, only back! Is this some kind of joke? Why when texting can't you move back and forth with arrows, just the stupid cursor. NO undo function????? Elementary mr Watson, elementary. +You have to be an oracle to guess when an app will close when u hit the back arrow rather than go back!! Apps must not close like that. Pretty disheartening. Pretty pretty for a good looking phone like this.
    And to be honest I am not going to buy a new phone for another three to four years come hell. Unless wify breaks my old one she uses now and I give her the brick.
    Moderator's note: We have provided a subject-related title to help other forum users easily view and respond to this post.

  • How to include formating options present in "FormatTextEdit" UI element in Smartform

    Hi All,
    I need your help in below requirement
    We need to use FormatTextEdit UI element in our WDA, so that text entered in UI element along with formatting options needs to be printed in PDF form through smartform.
    We are using Smartform to get PDF not adobe form. So we are facing issue in converting HTML tags which we get as a result of "FormatTextEdit" UI element in smartform.
    In PDF ( which is generated using Smartform inside our component), HTML tags are getting printing like
    We tried using "cl_wd_formatted_text", but could not find solution in integrating those HTML tags inside our smartform.
    Is there is any FM or Utility to convert HTML tags to smartform or any other approach to fulfil our requirement?
    Please help.
    Thank you
    Sangeetha

    Hi,
    You can convert smart form or RTF text to HTML tags but not the other way. There is no such provision.  You can check the class CL_WD_FORMATTED_TEXT which has method to convert smartform/sap script to /formatted text . May be you can check that and try to do the reverse way.
    But SAP doesn't have any such provision to convert HTML to other formats.
    Hope this helps,
    Regards,
    Kiran

  • Workflow email formatting options

    Hi Experts,
    Work flow email step:
    In send email step,ive to display a text click here and one click of the text original link should be opened.
    How to achieve this in the email step.I've seen some formatting options in text editor.But im not sure about it.
    Could you please provide some inputs on this.
    Regards
    Keerthi

    Hi ,
    I achieved the URL link in SBWP using <a> anchor tag in task description as
    <x href="&LINK1&">test</x>
    Note : replace 'X' by a
    LINK1 is a container element which has the iniital value as http://www.google.co.in/
    In SOST the link appears as test and when i click on it , it directly opens the google window.
    But the same is not appearing in the Outlook mail.I have seen some of the existng forums but could not find the answer
    for this.If anyone has resolved this issue please share.
    Regards
    Keerthi.
    Edited by: keerthi vasan on Oct 19, 2010 4:04 PM
    Edited by: keerthi vasan on Oct 19, 2010 6:57 PM

  • Formatting options in SAP

    i have a problem in displaying the formatting options available in
    the Standard text editor into the ABAP Report list. In the editor,
    i have text with bold and underline. So, these Bold and Underline are
    not displaying in the ABAP Report LISTS.
    Is ther any fm to get formatting options available in Standard text to
    internal table..
    I am using the fm FORMAT_TEXTLINES / FORMAT_TEXTLINES_DBCS
    after the function module READ_TEXT is called. But it is not displaying
    same format

    By default it will not do it.
    When you get the text using READ_TEXT function it will also give you the TDFORMAT column which will have the format data.
    Using that you will have to format the data yourself and write it.
    Regards,
    Ravi
    Note : Please mark all the helpful answers

  • Excel format options

    We're using Crystal 11.5 & 12 .NET interface.
    We want to set certain export formatting options for the Excel Data Only export format and have not been able to find the appropriate properties or methods in the documentation.  We have used the following code with the COM interface which works properly.  However we have been unable to make this work in .NET.  The list of the properties are as follows:
    ExportOptions.ExcelExportAllPages = True
    ExportOptions.ExcelExportImagesInDataOnly = True
    ExportOptions.ExcelUseWorksheetFunctions = True
    ExportOptions.ExcelMaintainRelativeObjectPosition = True
    ExportOptions.ExcelMaintainColumnAlignment = True
    ExportOptions.ExcelExportPageAreaPair = True
    Does anyone know what the appropriate .NET methods/properties are for Excel Data Only export?

    You will have to use the RAS SDK. Download the Report Application Server 12 SDK help file from here:
    http://help.sap.com/businessobject/product_guides/boexir31/en/rassdk_net_apiRef_12_en.chm
    and then search for export. Then see ExcelExportFormatOptionsClass properties.
    For more info re. RAS see:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10b840c0-623f-2b10-03b5-9d1913866b32
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050afe0-2fa5-2b10-658d-98f214ba6a4a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f006a5e6-7e64-2b10-8a84-8b15ca5cacfc
    https://www.sdn.sap.com/irj/boc/businessobjects-samples?rid=/webcontent/uuid/b02c1cac-ad86-2b10-88ae-cb36551bab06 [original link is broken]
    Ludek

  • How can I convert my logo 300dpi (274 pixels wide) from EPS to Gif format?

    I have a logo that needs to be fixed for web purposes. It looks great in print but very poor quality on screen. I need one for my website and HTML email newsletters, along with a high quality GIF 300 DPI (274 pixels wide) for a HTML coded signature. I tried it in Photoshop to save this file as GIF format. But it seems my files is 274 pixel but it is 96 dpi rather than 300dpi. How can I convert it from EPS to 300 DPI (274 pixels wide) GIF file format??
    I have an EPS file for it. Can anyone please help me ? Here is the LINK

    If your logo is 274 pixel wide at 300DPI it will print  .9" wide.      DPI is meaningless for the web For displays and displaye drivers do not use the image file dpi setting.  Displays are run at one resolution normally  their manufactured pixel resolution.   Display these days are manufactured with resolution ranging from 96PPI to over 300PPI so your logo will display  2.8" wide on a low 96ppi resolution display and .9" wide on a high 300ppi resolution display. The the difference between Jpeg and Gif is color Jpeg supports 8Bit color so 16M colors but does not support transparency.  GIF only supports 256 mapped colors reduced to 255 colors it you want transparent empty pixels.  You can also use PGN format which supports transparency and 8 or 16 bit color.

  • Setting format and format options in Output module settings for render queue item

    Hello,
    I am unable to set the "Format" and "Format options" for video in output module settings programatically using After effects apis.
    I referred the after effects cs3 sdk guide for the apis.
    I find apis for all other options in the "outputmodule settings " like :
    AEGP_SetEmbedOptions
    AEGP_SetOutputChannels
    AEGP_SetStretchInfo
    AEGP_SetSoundFormatInfo
    But there is no api listed for setting the options available in the "Format" tab and "Format options" tab.
    The "Format" tab and "Format options" tab is available in the dialog that opens when user clicks on the Output module settings for the render queue item.
    The format tab when clicked shows a drop down list with aff different formats. By default "Video for Windows" is set.
    The drop down list contains following format options
    Adobe Clip Notes
    Adobe Flash video
    Quicktime movie
    Video for Windows
    I need to be able to set the "Quicktime movie" option in the Format tab programmatically and then set the compression type as "Animation" in the compression settings programatically using the api functions available in AE CS3 SDK
    Please suggest the suitable api to do so.
    I need to write my own plugin to export to Quicktime movie using the after effects apis.
    I follow below steps to do so.
    1. AEGP_InsertMenuCommand and add export option to AE with my own plugin name
    2. In the command hook, select active item using AEGP_GetActiveItem
    3. Add it to render queue
    4. Set the output module settings for 0 th output module using
    suites.OutputModuleSuite1()
    5. Use different functions from suites.OutputModuleSuite1() to set the output module settings like EmbedOptions,StrechInfo etc.
    6. Till this step, I am doing it right. But I am not able to find any api for setting Format options using suites.OutputModuleSuite1()
    I also checked all other suites available for setting FormatOptions but no luck.
    Please help.
    Thanks,
    -Namita

    Hi Namita,
    I am experiencing the same problem.
    I am using AE CC SDK, and I am unable to change the outputmodule format to any of the other movie format types (mov, mpg, flv, etc.).
    It is always set to "avi"
    I even compiled and ran the Queuebert example in the SDK, and there I get the same problem: the path extension is always left on ".avi"
    Does anyone know how to change this?

  • Adding a currency in numbers missing custom format option

    I just paid for numbers latest version June 2012. iPad 3' v5.1.1.     Want to format a cell as a currency not in the little list chosen by apple.  Forums suggest using the custom format option but I can not see this anywhere?  Any ideas how to add a custom format or how to extend the list of currencies to all currencies. If nothing else missing out a countries currency as too unimportant to include is just plain rude!

    1) You posted to the Numbers on Mac OS X forum ( Apple Support Communities > iWork > Numbers >   Discussions ).  The iWork for iOS forum is more likely to provide the direct answer...
       it is here:  https://discussions.apple.com/community/app_store/iwork_for_ios
    2) you can add custom formats (demonstrating from Numbers for Mac OS X) by opening the cells inspector:
    Then naming the new format and setting the parameters of the format:
    If the currency symbol is not in the list then you can preceed (or follow) the value with the proper symbol:
    I decided to demonstrate this by showing a preceeding infinity sign before the amount:

Maybe you are looking for

  • My Vista Ultimate keeps crashing and restarting...

    Hello... I currently upgraded to Leopard and bit the bullet and bought Windows Ultimate to help run my ACAD 2008. The installation of both operating systems ran smoothly and I was able to install the Bootcamp drivers onto Vista without a hitch. After

  • Can any body help me in creating a jar using Weblogic server tool

    I have created the class files of the container manged bean successfully.I want to create the jar file using the weblogic tool. I have created a new jar file and now I have to add a bean class file and a home class file to it.In the tool I choose a t

  • What's wrong with OO4O and delphi

    I am trying usint OO4O to fetch the spatial data in delphi,but I can not use the opendatabase function. here is the code var OO4OSession:variant; OraDatabase:variant; begin OO4OSession:= CreateOLEObject('oracleInProcServer.XOraSession'); OraDatabase:

  • Two BW Systems to One OLTP Systems.

    Hello experts:     We are in the process of connecting two BW systems one OLTP system. Currently the BW system is connected to one OLTP system. I have many blogs here about this issue. But I am unable to see any answers on how to set this up.  Table

  • Changing ethernet Mac address in Leopard 10.5.3

    I am trying to change the Mac address (ethernet) of my MacBook Pro, with Leopard 10.5.3. It used to work with Tiger, with the regular command (in Terminal): sudo ifconfig en0 lladdr 00:00:00:00:00 (where the zeros represent the new Mac address). Howe