I cannot insert a graphic image in a new composition: win 7, tb 24

At times when composing a new e-mail I cannot insert a graphic image in the message. I have tried both the Insert button and the Insert icon. This does not happen all the time; but, when it does happen I can't seem to make it work. My system is a Win 7 with Thunderbird 24.3.0.5. I have tried inserting different graphic images and have tried all combinations in the Image Properties pop-up window.
I have closed and reopened Thunderbird. I have restarted my system. I have closed all windows except Thunderbird. Nothing helps. Help! Thank you, Bill Gray

Bill Gray here again. I find that if I open another Write window, then copy/paste my entire e-mail from the initial window -- I can insert graphics into the new window.
What happens in Thunderbird to make this happen? This has happened a number of times. But, at least now I know that I can open a new Write window and get around the problem. Yet, I am still stuck with the nagging question: Why does this happen?
Thank you and God bless, Bill Gray

Similar Messages

  • Cannot insert a picture (image - BLOB) directly into a report field?

    Hello
    I am new to APEX and I am trying to create a table with an image together with an input form and an output report but I am having difficulty in displaying the image in the report field.
    My work so far:
    1 I am using APEX to generate a table with a BLOB, Filename and Last_Update_Date fields.
    2 I have followed the article on the http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm.
    3 The title is: 'Defining and Viewing BLOB Data in Oracle Application Express 3.1'
    4 I have generated the table, form and report.
    5 I have downloaded the image as an attachment and inline on the form Ok.
    6 I have successfully downloaded an image on the report with the words image as a link in the report field. Note the http path is: http://glkas0892v.greenlnk.net:7777/pls/htmldbDEV/apex_util.get_blob_file?a=475&s=7094501042405784&p=3&d=1360784770040764381&i=1360783771822764369&p_pk1=123&p_pk2=&p_ck=2F17C4FBDE22B25A02026F67AB59D4F0&p_content_disposition=inline
    7 I have unsuccessfully tried to insert the image directly into a report field itself. The report displays the picture as a symbol with a cross.
    Note the http path is: http://glkas0892v.greenlnk.net:7777/pls/htmldbDEV/apex_util.get_blob?s=7094501042405784&a=475&c=1360779972416764351&p=2&k1=&k2=&ck=4BFA878ADD2028D2E9B127BB03F78B8D&rt=CR
    7a I have reduced the size of the images to 20 by 30 pixels but no joy.
    Conclusion
    The only difference I can see is that in 6 the command in the path is apex_util.get_blob_file? But in 7, unsuccessful, the command in the path is apex_util.get_blob?
    Please help me as there must be some one out there who has experienced the same situation.
    Thanks
    Brian

    My colleague has found the answer. A known fault exists within APEX 3.1 in that the Blob declaration must be after the Last update declaration and then the image displays correctly on the report.

  • I cannot open RW2 stills images from my new Panasonic GH4 in Lightroom 5.4, Raw 8.4 or DNG conveter 8.4. Thet do not open in the CC version of Lightroom or Photoshop either. when or how can I resolve this?

    The only way at this point I have found to open the files is the SilkyPix software that came with the camera. I have sent SilkyPix an email to see if they will offer a DNG conversion option. At this point only jpeg or tiff is the available option.
    So I export all the files out (unaltered) from SilkyPix to tiff, then import into Lightroom 5.4 as DNGs.

    photogetgo wrote:
    True, and I did contact them about offering a DNG export option which I think would be a good move in any event as other raw for,mats are offering that for future file opening protection
    That would solve the issue if they could export the raw data as a DNG. But that's unlikely. They probably don't want to provide you the option of using another raw converter (for whatever silly reasons). It appears they offer the option of saving a DNG of the rendered not raw data but that doesn't buy you anything. Bottom line is, you have to wait on Adobe to update the proprietary raw format that has no reason to be proprietary in the first place. The optional JPEG most cameras provide isn't proprietary and everyone has access to that data the day the camera ships. But for some politically stupid reasons, the camera manufacturers don't do this with the raw data and we all get to wait on every other company who's raw converter we'd like to use to spend the time and money to update the format. It will eventually happen, begging the question why the camera manufacturer's do this in the first place.

  • HELP:  cannot insert images

    When I try to insert an image, I get a pop up message reading: "You won't see this element unless View < Visual Aids < Visible Elements is checked, and the preference setting for this setting is on."
    I've made sure that Visible Elements has been checked, but I'm not really sure what to do in the  Preference setting.  I'm assuming it's on, but there's nothing to indicate that in the setting.
    Anyway, I'm still not able to insert images, either in the body or in the div.  I keep getting the same pop up message and I don't know what to do.  Can someone please help?  Thanks..

    How are you trying to insert the image....
    1.  Via the Common tab and selecting the image icon.
    2.  Via the Insert Menu>Image
    From my checking of the Invisible elements there shouldn't be anything there impeding the insertion of an image.  Even in the preferences dialogue box, there's nothing really there specific to images.
    See if the following helps:
    A lot of unexplained errors in Dreamweaver are the result of a corrupt cache file or corrupt personal configuration file. Go to the Dreamweaver FAQ, and look up "JavaScript and other unexpected errors". Follow the instructions for deleting the file cache. If that doesn't work, try deleting your personal configuration folder.
    http://kb2.adobe.com/cps/191/tn_19105.html
    INSTRUCTIONS FOR JS ERRORS: 
    JavaScript and other unexpected errors in the Dreamweaver FAQ.
    Nadia
    Adobe Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

  • Inserting a Graphic in adobe form using SFP

    Hi all,
           by using Form & Interface in SFP Transaction
           i want to display a logo(image) not by using url(not images from hard disk), i want to use the image which is present in the sap (ie., i want to use the images in se78).  How can i achieve this????
    I used the following procedure, even though i couldnt achieve:
    1.      Select an existing node in the context, under which you want to create a graphic node.
           2.      In the context menu of the node, choose Create ® Graphic.
           3.      The system creates a graphic node under the selected node. Enter the required data about the graphic in the Properties window under the form context.
    You can choose from the following graphic types:
    ○       Graphic Reference
    Choose this option if you want to insert a graphic from its address (URL). The URL can point to a Web server or to a file system. You must be able to access the graphic at the specified URL. This means that you may have to configure appropriate access rights for Adobe Document Services (ADS). Graphics stored in MIME Repository cannot be accessed through a URL. To use these graphics, choose Graphic Content.
    ○       Graphic Content
    Choose this option if you want to specify graphic content using a field. This field contains all image information at runtime. The graphics must be in MIME Repository.
           4.      The entries you need to make depend on whether you chose Graphic Reference or Graphic Content in the last step.
    ○       If you have chosen Graphic Reference as your graphic type, enter the URL of the graphic.
    Note
    In Adobe LiveCycle Designer, you can choose whether the system gets the graphic at runtime, or whether the graphic is embedded in the form. For more information, see the online help in Adobe Designer.
    ○       If you have specified Graphic Content as your graphic type, you must do the following:
    ■       In Field, enter a field name from the interface.  The field must have the type STRING (graphical data is Base64-coded) or XSTRING (for binary-coded graphical data).
    ■       Enter a valid MIME type, such as u2019image/bmpu2019.
           5.      Under Conditions, enter the prerequisites that need to be met before the graphic node is processed at runtime and displayed in the form.
    I cant get the image....................................
    Please provide the step by step details.....
    Thanks,
    Vichu

    The correct code is as follows,
    REPORT  ZTEST_GRAPHIC_MIME.
              Data Declaration           ***
    DATA: fm_name TYPE funcname,                              " Captures the Generated Function Module name
          w_sfpoutputparams TYPE sfpoutputparams,             " Print and Spool Dialog settings
          w_docparams TYPE sfpdocparams.                      " Print and Spool Dialog settings
    DATA: w_binary TYPE xstring,                              " Contains converted logo
          w_base64 TYPE string,                               " Contains image type
          v_name type STXBITMAPS-TDNAME.                      " Contains logo name which is in se78
              Function Modules            ***
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'                   " Will contain the name of generated Function Module Name...
      EXPORTING
        I_NAME                     = 'ZTEST_GRAPHIC'
    IMPORTING
        E_FUNCNAME                 = fm_name
      E_INTERFACE_TYPE           =
    CALL FUNCTION 'FP_JOB_OPEN'                               " To Open the Form for Printing...
      CHANGING
        IE_OUTPUTPARAMS       = w_sfpoutputparams
    EXCEPTIONS
       CANCEL                = 1
       USAGE_ERROR           = 2
       SYSTEM_ERROR          = 3
       INTERNAL_ERROR        = 4
       OTHERS                = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    v_name = 'ENJOY'.                                         " Name of the logo as in se78
    w_base64 = 'image/bmp'.                                   " Image Type
    CALL METHOD CL_SSF_XSF_UTILITIES=>GET_BDS_GRAPHIC_AS_BMP  " Get a BDS Graphic in BMP Format (Using a Cache)
      EXPORTING
        P_OBJECT       = 'GRAPHICS'
        P_NAME         = v_name                               " Name of the logo as in se78
        P_ID           = 'BMAP'
        P_BTYPE        = 'BCOL'                               " BCOL'( whether the image is in color or black and white )
      RECEIVING
        P_BMP          = w_binary
      EXCEPTIONS
        NOT_FOUND      = 1
        INTERNAL_ERROR = 2
        others         = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION fm_name                                     " Generated Adobe Form Function Module(/1BCDWB/SM00000173)...
      EXPORTING
        /1BCDWB/DOCPARAMS        = w_docparams
        GRAPHIC_BINARY           = w_binary
        GRAPHIC_BASE64           = w_base64
    IMPORTING
      /1BCDWB/FORMOUTPUT       =
    EXCEPTIONS
       USAGE_ERROR              = 1
       SYSTEM_ERROR             = 2
       INTERNAL_ERROR           = 3
       OTHERS                   = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'FP_JOB_CLOSE'                              " To Close The Form For Printing
    IMPORTING
      E_RESULT             =
    EXCEPTIONS
       USAGE_ERROR          = 1
       SYSTEM_ERROR         = 2
       INTERNAL_ERROR       = 3
       OTHERS               = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Linking FM 9 "At Insertion Point" graphics to an RH 8 project

    Using Technical Communication Suite 2, I have built a structured FM 9 book in order to generate a RH 8 help system. This is a software user guide and I cannot avoid using inline graphics in some body elements. The book only has regular .fm documents (one document per topic), each document has English and French conditions, and I have used the Link command to link the book to a Robohelp project. If I save my FM book as a PDF, everything is perfect, which indicates there are no issues with either the EDD or the EDD_TPL files. In Robohelp, I use an .isf file for modifying RHMapping.css; everything but the following works fine.
    The problem is that upon first linking the book when I create the RH project, RH insists on reading all the inline graphics (set as "At Insertion Point" in FM) as right-aligned paragraphs. There is nothing in my _TPL template that calls for right-aligning anything. Strange thing is that, if I then delete an image in FM and re-insert it, save the file, update the book and then update the RH project, the image is positioned properly in the body element. This would indicate to me that RH 8 is capable of handling inline graphics (like it always has). Needless to say however, that doing this for around 500 inline graphics would be an onerous solution.
    But there is something else.  Deleting and re-inserting the graphic in FM also changes the enclosing element's language condition to "As Is", which is an even greater problem, because I then end up with improper condition-based generation of topics. If I then set the element's condition to what I want it to be, the graphic is right-aligned again in RH.
    I've been raking my brains for a while now and tried all kinds of kludges, in and out of my EDD - to no avail. If anyone else is currently struggling with, or has found a solution to, this problem, I would greatly appreciate hearing from you.
    Thanks

    Hi Mark,
    I looked at the HTML and I see the problem, but didn't see anything specifically controlling this in the CSS. (I don't have much experience with CSS.)
    BTW: I have used your website and Peter Grainge's for help with Help. Thank you!!!
    The issue is:
    There is a line of text in a Frame file (Lettered ptag). In the line of text, there is an anchored frame set to "At Insertion Point." Looks like this:
    3. Click <image in anchored frame> (Add Attachment).
    When the file is linked to RH, it is creates two <p> sections for the text and between those a separate <div> section aligned to the right for the image. This is the HTML:
    <li type="a"><p class="Lettered"><?rh-cbt_start condition="Online, Print, Smart" ?>Click <?rh-cbt_end ?></p>
    <?rh-cbt_start condition="Online, Print, Smart" ?><div align="right">
      <img alt="add_attachments.png" id="image9" src="add_attachments.png"
        style="margin-bottom: -3.000pt; margin-left: 1.500pt; margin-right: 0.882pt;"
        width="18" height="21" border="0" />
    </div><?rh-cbt_end ?>
    <p class="Lettered"><?rh-cbt_start condition="Online, Print, Smart" ?>&#160;<?rh-cbt_end ?><?rh-cbt_start condition="Online, Print, Smart" ?>(Add Attachment).<?rh-cbt_end ?></p></li>
    Appreciate any ideas or CSS suggestions to sort this out.
    Thanks!

  • Help: Windows cannot restore a system image to a computer with different firmware

    I want to recover a complete image of a Windows 7 operating system I have backed up to my other server. But I am getting the error "Windows cannot restore a system image to a computer with different firmware. The System Image was created by a computer using BIOS and this computer is using EFI"
    The image was definitely taken from this machine - the firmware has not changed!
    What do I need to do to restore the image?
    Background Story ..
    I bought a new HP 255 laptop per-installed with Windows 7 without Operating Systems instal disks (I will NEVER be stupid enough to do that again!).
    I took a complete image of the systems, as suggested so that I was well backed up.
    However, my machine corrupted its operating systems with a few weeks. The boot recovery CD did not work (would not boot). So in desperation, and because time was short I went out and bought another, legitimate copy of Windows 7 DVD with a license key (So now I have 2, legitimate copies of the operating system!).
    I installed the new copy of Windows 7 - but it was dreadful, because many drivers were missing. Mostly the missing drivers were not available on the HP support site for this machine. ALso, boot up was increadibly slow compared to the original OS installation.
    So I created a new boot recovery disk from the new version of Windows, and tried to restore using that. New boot disk loads ok, I can find the old image on my network (after loading a few network drivers). But I won't instal the image - giving the above error message.
    I tried deleting the EFI partition from the disk (using GPARTED to reformat that partition). That killed the Windows 7 on the machine - but still gives the same error message when I try to re-image the machine.
    I have tried going into the BIOS settings .. HP 255 has a "Legacy Mode" - which I have enabled, but this makes no difference at all!
    I think that the kind of solutions I am looking for might be:
    1. There is a clever way of disabling EFI on my 255 so that it looks like a legacy BIOS machine, or
    2. This EFI this is wired into my new boot recovery disk - and there is a way of creating a boot recovery disk that does not use EFI
    This has taken me about 2 weeks so far,please help with any suggestions!

    DonOxley wrote:
    Erico,
    I suspect that "MSDOS" is what the Gparted tool calls "MBR" for a partition table, as explained here:
    http://superuser.com/questions/700770/mbr-equals-msdos-for-gparted
    I think that you are suggesting I give up on trying to recover the image I have stored on my server and just to instal Windows 7 from my new copy. There are two problems with this.
    1. After having systematically downloaded all of the drivers from the HP 255 notebook support page, I am still seeing missing drivers listed. Install the AMD graphics softpaq driver first. It also contains the chipset drivers.
    2. The machine is taking a hugely long time to boot up, and seems much slower with this version. Maybe that is a product of using "EFI" rather than "bios" - I don't know.
    My assumption is that HP had some special set-up option with their version of Windows which makes the machine more performant. It does not seem to be a coincidence that the image they deliver the machine with is not quite compatible with a 'normal' Windows 7 instal.
    So my original question stands: How do I recover the image that I saved away (as per instructed) when I first bough the machine?
    You still have not said what you used to create the system image. What is the "image" file's extension?
    You are mistaken in your comparison. MSDOS is an operating sytem MBR is a partitioning scheme.  that is comparing apples to oranges. 
    The article is making an oblique reference in that using GPARTED is more or less equated to using the diskpart utility at the command line. Everything done at the comand line is essentially  done by use of MSDOS commands. GPARTED does the same thing with LINUX commands via a graphical interface so you don't have to type in the commands in a  Linux console.
    Do you mean making a backup? a backup is not a clone which can be reproduced on different hardware. The SSD disk replacement does make the hardware differ from the original configuration.
    Follow the instaructions on the following tutorial to make your disk a GPT type before installing.
    http://www.disk-partition.com/articles/mbr-partition-table-to-gpt.html
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Inserting table background images [was: CS4 DW]

    Dear all,
    I've have trouble inserting the background images in a cell of a table. When I was using CS3 I had the options of selecting BG color or image, as well as choosing the border color.
    Right now in CS4 I can't even insert one in a cell, only color bg, and also editing the font size, color, type..
    Can anyone advise?
    Z

    CSS code uses a different syntax than HTML code.
    With CSS you can use a background-color: #FFF or a background-image (URL).  This can point to an absolute URL:
    background: url (http:yoursite.com/images/bg-image.jpg)
    or to an image in your  DW local site folder:
    background: url (some-folder-in-your-local-site/image.jpg)
    For more  HTML & CSS Tutorials - http://w3schools.com/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Cannot Upload or Display Image in blob Item.

    Hi Guyz,
    I'm inserting a image in a blob item using oracle forms 10g and database 9i, everything is working fine except uploading image, i tried the below code it was opening file Open dialog and as soon as i select the image to insert into the image item it will not shown anything at all in image item.
    WBP trigger code.
    [code]
    DECLARE
    FILENAME VARCHAR2(256);
    BEGIN
    FILENAME := WEBUTIL_FILE.FILE_OPEN_DIALOG();
    IF FILENAME IS NOT NULL THEN
      CLIENT_IMAGE.READ_IMAGE_FILE(FILENAME,SUBSTR(FILENAME,INSTR(FILENAME,-1)),'MN_PICTURES.PICTURE');
      :MN_PICTURES.PIC_STAT:=1;
    END IF;
    END;
    [/code]
    then i tried new thin from scratch using the below link to insert the code but still same i cannot insert image into the image item i set the below properties in image item
    Baig's Technology Blog: Storing and Retrieving Images / Word / Excel / PDF and Movies in Oracle Database using Forms10g
    sizing style=Adjust
    Image format= TIFF.
    any patch required or i'm doing something wrong?
    Regards
    Moazam

    hey guyz,
    I found the solution on below link...thx
    https://forums.oracle.com/thread/2190302
    Regards
    Moazam

  • Headers: can you insert a graphic?

    I am trying to insert a graphic (logo) in my header. However, when I select the Media browser and drag the image, it always lands on top of the table itself -- I cant figure out how to move it to the header (or get it to "float" about the table so I can move it anywhere...
    Thanks.

    You can put any picture in a cell > Inspector > Graphics > Fill.
    The page header will not take pictures but can be typed in & coloured using the options on the top of the Font menu.
    You can put any logo / picture etc in a text box and place it on the page where you want it.
    Removing the excess rows & columns from any tables gives you more room to play with..
    Best.

  • Dynamic Insertion of graphics in Smart from

    Hi guys,
    I want to insert a dynamic graphic image from the presentation server into smart from its possible?
    Reg,
    Hriharan

    Hi Mohd,
    here's how to do it.
    I presume you have alredy done charting in general with the cl_gui_chart_engine. You need the data and the customizing XML strings of that chart to print it out.
    Follow this coding:
        DATA: l_igs_viewer TYPE REF TO cl_igs_chart_engine,
              i_igs_image_converter TYPE REF TO cl_igs_image_converter.
    * Generate an Internet Graphics Server Chart Engine
        CREATE OBJECT l_igs_viewer
          EXPORTING
            destination = 'GFW_ITS_RFC_DEST'.  "IGS must exist, destination be installed
    * IGS gets data and customizing
        CALL METHOD l_igs_viewer->set_data( data_doc = l_ixml_doc ).
        CALL METHOD l_igs_viewer->set_customizing(
          custom_doc = l_ixml_custom_doc ).
    * and now renders the chart.
        CALL METHOD l_igs_viewer->execute
          EXCEPTIONS
            communication_error = 1
            internal_error      = 2
            external_error      = 3
            OTHERS              = 4.
    * Next step ist to convert the image to an MS-BMP.
          DATA:
            l_image TYPE  w3mimetabtype,
            l_image_size  TYPE  w3param-cont_len,
            l_image_type  TYPE  w3param-cont_type.
    * get your image
          CALL METHOD l_igs_viewer->get_image
            IMPORTING
              image      = l_image
              image_size = l_image_size
              image_type = l_image_type.
    * Create an image converter on the IGS
          CREATE OBJECT i_igs_image_converter
            EXPORTING
              destination = 'GFW_ITS_RFC_DEST'.
          i_igs_image_converter->input = 'image/gif'.
          i_igs_image_converter->output = 'image/x-ms-bmp'. " !!!!
    * Hand the image over
          CALL METHOD i_igs_image_converter->set_image
            EXPORTING
              blob      = l_image
              blob_size = l_image_size.
    * and convert it to a BMP
          CALL METHOD i_igs_image_converter->execute
            EXCEPTIONS
              communication_error = 1
              internal_error      = 2
              external_error      = 3
              OTHERS              = 4.
          IF sy-subrc = 0.
    * if OK, get that image.
            CALL METHOD i_igs_image_converter->get_image
              IMPORTING
                blob      = l_image
                blob_size = l_image_size
                blob_type = l_image_type.
          ENDIF.
        ENDIF.
    At this point, we have a BMP-24, and we are ready to save it to the SE78 BDS graphics system.
    This is by far the slowest part of the story. Not applicable for mass printing, the conversion of a bitmap can take up to 1 minute!
        DATA: l_docid TYPE stxbitmaps-docid.
        PERFORM save_bitmap_bds
                USING    'TEMP_CHART0181'
                         'GRAPHICS' 'BMAP' 'BCOL' 'BMP'
                         'Temporäre Grafik Chart 0181'(i16)
                         con_blank
                         con_x
                         con_x
                CHANGING
                         l_image_size
                         l_image
                         l_docid.
    The next part ist the form that converts and saves the BMP to BDS.
    FORM save_bitmap_bds
        USING    p_name           TYPE stxbitmaps-tdname
                 p_object         TYPE stxbitmaps-tdobject
                 p_id             TYPE stxbitmaps-tdid
                 p_btype          TYPE stxbitmaps-tdbtype
                 p_format         TYPE c
                 p_title          TYPE bapisignat-prop_value
                 p_resident       TYPE stxbitmaps-resident
                 p_autoheight     TYPE stxbitmaps-autoheight
                 p_bmcomp         TYPE stxbitmaps-bmcomp
        CHANGING
                 p_image_size     TYPE i
                 p_image          TYPE w3mimetabtype
                 p_docid          TYPE stxbitmaps-docid.
      DATA: l_object_key      TYPE sbdst_object_key.
      DATA: l_tab             TYPE ddobjname.
      DATA: l_filename        TYPE string,
            l_bytecount       TYPE i,
            l_error           TYPE c.
      DATA: l_color(1)        TYPE c.
      DATA: l_bds_object      TYPE REF TO cl_bds_document_set,
            l_bds_content     TYPE sbdst_content,
            l_bds_components  TYPE sbdst_components,
            l_dpi             TYPE  stxbitmaps-resolution,
            wa_bds_components TYPE LINE OF sbdst_components,
            l_bds_signature   TYPE sbdst_signature,
            wa_bds_signature  TYPE LINE OF sbdst_signature,
            l_bds_properties  TYPE sbdst_properties,
            wa_bds_properties TYPE LINE OF sbdst_properties.
      DATA  wa_stxbitmaps TYPE stxbitmaps.
      DATA:
        l_width_tw TYPE  stxbitmaps-widthtw,
        l_height_tw TYPE  stxbitmaps-heighttw,
        l_width_pix TYPE  stxbitmaps-widthpix,
        l_height_pix TYPE  stxbitmaps-heightpix,
        l_bds_bytecount TYPE  i,
        l_docid TYPE stxbitmaps-docid.
      CALL FUNCTION 'SAPSCRIPT_CONVERT_BITMAP_BDS'
        EXPORTING
          color                     = 'X'
          format                    = 'BMP'
          bitmap_bytecount          = p_image_size
          compress_bitmap           = 'X'
        IMPORTING
          width_tw                  = l_width_tw
          height_tw                 = l_height_tw
          width_pix                 = l_width_pix
          height_pix                = l_height_pix
          dpi                       = l_dpi
          bds_bytecount             = l_bds_bytecount
        TABLES
          bitmap_file               = p_image
          bitmap_file_bds           = l_bds_content
        EXCEPTIONS
          format_not_supported      = 1
          no_bmp_file               = 2
          bmperr_invalid_format     = 3
          bmperr_no_colortable      = 4
          bmperr_unsup_compression  = 5
          bmperr_corrupt_rle_data   = 6
          tifferr_invalid_format    = 7
          tifferr_no_colortable     = 8
          tifferr_unsup_compression = 9
          bmperr_eof                = 10
          OTHERS                    = 11.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    * Enqueue
      PERFORM enqueue_graphic USING p_object
                                    p_name
                                    p_id
                                    p_btype
                              CHANGING l_error.
      CHECK l_error EQ con_blank.
      SELECT SINGLE docid INTO p_docid
        FROM stxbitmaps
        WHERE tdobject = p_object
          AND   tdname   = p_name
          AND   tdid     = p_id
          AND   tdbtype  = p_btype.
      IF sy-subrc NE 0.
        CLEAR p_docid.
      ENDIF.
      IF p_btype = c_bmon.
        l_color = con_blank.
      ELSE.
        l_color = con_x.
      ENDIF.
    * Save bitmap in BDS
      CREATE OBJECT l_bds_object.
      wa_bds_components-doc_count  = '1'.
      wa_bds_components-comp_count = '1'.
      wa_bds_components-mimetype   = c_bds_mimetype.
      wa_bds_components-comp_size  = l_bds_bytecount.
      APPEND wa_bds_components TO l_bds_components.
      IF p_docid IS INITIAL.          " graphic is new
        wa_bds_signature-doc_count = '1'.
        APPEND wa_bds_signature TO l_bds_signature.
        CALL METHOD l_bds_object->create_with_table
          EXPORTING
            classname  = c_bds_classname
            classtype  = c_bds_classtype
            components = l_bds_components
            content    = l_bds_content
          CHANGING
            signature  = l_bds_signature
            object_key = l_object_key
          EXCEPTIONS
            OTHERS     = 1.
        IF sy-subrc <> 0.
          PERFORM dequeue_graphic USING p_object
                                        p_name
                                        p_id
                                        p_btype.
          MESSAGE e012 WITH p_name  'BDS'.
        ENDIF.
        READ TABLE l_bds_signature INDEX 1 INTO wa_bds_signature
        TRANSPORTING doc_id.
        IF sy-subrc = 0.
          p_docid = wa_bds_signature-doc_id.
        ELSE.
          PERFORM dequeue_graphic USING p_object
                                        p_name
                                        p_id
                                        p_btype.
          MESSAGE e012 WITH p_name 'BDS'.
        ENDIF.
      ELSE.                " graphic already exists
    ********* read object_key for faster access *****
        CLEAR l_object_key.
        SELECT SINGLE * FROM stxbitmaps INTO wa_stxbitmaps
            WHERE tdobject = p_object
              AND tdid     = p_id
              AND tdname   = p_name
              AND tdbtype  = p_btype.
        SELECT SINGLE tabname FROM bds_locl INTO l_tab
           WHERE classname = c_bds_classname
              AND classtype = c_bds_classtype.
        IF sy-subrc = 0.
          SELECT SINGLE object_key FROM (l_tab) INTO l_object_key
            WHERE loio_id = wa_stxbitmaps-docid+10(32)
              AND classname = c_bds_classname
                AND classtype = c_bds_classtype.
        ENDIF.
    ******** read object_key end ********************
        CALL METHOD l_bds_object->update_with_table
          EXPORTING
            classname     = c_bds_classname
            classtype     = c_bds_classtype
            object_key    = l_object_key
            doc_id        = p_docid
            doc_ver_no    = '1'
            doc_var_id    = '1'
          CHANGING
            components    = l_bds_components
            content       = l_bds_content
          EXCEPTIONS
            nothing_found = 1
            OTHERS        = 2.
        IF sy-subrc = 1.   " inconsistency STXBITMAPS - BDS; repeat check in
          wa_bds_signature-doc_count = '1'.
          APPEND wa_bds_signature TO l_bds_signature.
          CALL METHOD l_bds_object->create_with_table
            EXPORTING
              classname  = c_bds_classname
              classtype  = c_bds_classtype
              components = l_bds_components
              content    = l_bds_content
            CHANGING
              signature  = l_bds_signature
              object_key = l_object_key
            EXCEPTIONS
              OTHERS     = 1.
          IF sy-subrc <> 0.
            PERFORM dequeue_graphic USING p_object
                                          p_name
                                          p_id
                                          p_btype.
            MESSAGE e012 WITH p_name 'BDS'.
          ENDIF.
          READ TABLE l_bds_signature INDEX 1 INTO wa_bds_signature
          TRANSPORTING doc_id.
          IF sy-subrc = 0.
            p_docid = wa_bds_signature-doc_id.
          ELSE.
            PERFORM dequeue_graphic USING p_object
                                          p_name
                                          p_id
                                          p_btype.
            MESSAGE e012 WITH p_name 'BDS'.
          ENDIF.
        ELSEIF sy-subrc = 2.
          PERFORM dequeue_graphic USING p_object
                                        p_name
                                        p_id
                                        p_btype.
          MESSAGE e012 WITH p_name 'BDS'.
        ENDIF.
      ENDIF.
    * Save bitmap header in STXBITPMAPS
      wa_stxbitmaps-tdname     = p_name.
      wa_stxbitmaps-tdobject   = p_object.
      wa_stxbitmaps-tdid       = p_id.
      wa_stxbitmaps-tdbtype    = p_btype.
      wa_stxbitmaps-docid      = p_docid.
      wa_stxbitmaps-widthpix   = l_width_pix.
      wa_stxbitmaps-heightpix  = l_height_pix.
      wa_stxbitmaps-widthtw    = l_width_tw.
      wa_stxbitmaps-heighttw   = l_height_tw.
      wa_stxbitmaps-resolution = l_dpi.
      wa_stxbitmaps-resident   = p_resident.
      wa_stxbitmaps-autoheight = p_autoheight.
      wa_stxbitmaps-bmcomp     = p_bmcomp.
      INSERT INTO stxbitmaps VALUES wa_stxbitmaps.
      IF sy-subrc <> 0.
        UPDATE stxbitmaps FROM wa_stxbitmaps.
        IF sy-subrc <> 0.
          MESSAGE e012 WITH p_name 'STXBITMAPS'.
        ENDIF.
      ENDIF.
    * Set description in BDS attributes
      wa_bds_properties-prop_name  = 'DESCRIPTION'.
      wa_bds_properties-prop_value = p_title.
      APPEND wa_bds_properties TO l_bds_properties.
      CALL METHOD l_bds_object->change_properties
        EXPORTING
          classname  = c_bds_classname
          classtype  = c_bds_classtype
          object_key = l_object_key
          doc_id     = p_docid
          doc_ver_no = '1'
          doc_var_id = '1'
        CHANGING
          properties = l_bds_properties
        EXCEPTIONS
          OTHERS     = 1.
      PERFORM dequeue_graphic USING p_object
                                    p_name
                                    p_id
                                    p_btype.
    ENDFORM.                    "save_bitmap_bds
    Your final part will now be to print out the graphic using a SmartForm. The method I showed above, saves the graphics always with the same name, in this case TEMP_CHART0181. So this method is not qualified for concurrent use by multiple users.
    Try it out and see how slow this works unfortunately.
    I hope SAP will provide a performant way soon to print charts with smartforms better than that above.
    One last hint concerning size and resolution of the bitmap. Take a low resolution of say 50 dpi to gain higher performance but lower print quality. I never tried high resolutions of like 300dpi, it just became too slow for me and I qualified that as simply unpracticable.
    I hope the coding snippets can help you.
    Kind Regards
    Ernst

  • Inserting a background image on JFrame

    I am developing an interactive system for the london 2012 olympics (Not a real one, just a project :-)) I am starting by creating my GUI layout. This is where i have started.
    import java.awt.*;        
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.util.*;
    import java.awt.event.KeyListener;
    import java.io.*;
    import java.text.*;
    public class Assignment extends JFrame  
       private JLabel londOnJLabel;
    public Assignment()
              ImageIcon image = new ImageIcon("???.jpg");
              JLabel background = new JLabel(image);
              background.setBounds(0, 0, image.getIconWidth(), image.getIconHeight());
              getLayeredPane().add(background, new Integer(Integer.MIN_VALUE));
    private void createUserInterface()
              Container contentPane = getContentPane();
              contentPane.setLayout( null );
              londOnJLabel = new JLabel();
              londOnJLabel.setBounds( 19, 19, 875, 28 );
              londOnJLabel.setText( "LONDON 2012" );
              londOnJLabel.setFont(new Font( "Default", Font.BOLD, 36 ) );
              londOnJLabel.setHorizontalAlignment(JLabel.CENTER );
              contentPane.add( londOnJLabel );
              setTitle( "LONDON 2012" );
              setSize( 1000, 750 );         
              setVisible( true );         
    public static void main( String[] args )
          Assignment application = new Assignment();
          application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
    }So at the moment this Just displays LONDON 2012 on my application. Now what i would like to try and do is insert a background image of the olympic rings. How would i go about doing this?
    cheers

    THFC wrote:
    sorry, when u say dont subclass JFrame, are you referring to this?
    public Assignment() ....
    No I meant don't do this: public class Assignment extends JFrameBut rather do this: do this: public class Assignment extends JPanelFor example:
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Font;
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import java.io.IOException;
    import java.net.URL;
    import javax.imageio.ImageIO;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    public class Assignment2 extends JPanel
      private static final String FILE_PATH = "myImageFile.jpg"; // !! change this
      private static final String NET_URL_PATH = "http://upload.wikimedia.org/wikipedia/commons/thumb/8/82/Mooring_bollard_at_sunset%2C_Lyme_Regis.jpg/800px-Mooring_bollard_at_sunset%2C_Lyme_Regis.jpg";
      // Photo by Michael Maggs, Wikimedia Commons: http://commons.wikimedia.org/wiki/Image:Mooring_bollard_at_sunset%2C_Lyme_Regis.jpg
      private BufferedImage image = null;
      public Assignment2()
        try
          // first load the image
          //image = ImageIO.read(new File(FILE_PATH));
          image = ImageIO.read(new URL(NET_URL_PATH));
        catch (IOException e)
          e.printStackTrace();
        // then set up the JPanel.  Try to avoid using the "null" layout
        JLabel titleLabel = new JLabel("My Title Goes Here");
        titleLabel.setFont(titleLabel.getFont().deriveFont(Font.BOLD, 36));
        titleLabel.setForeground(Color.lightGray);
        JPanel titlePanel = new JPanel();
        titlePanel.setOpaque(false);
        titlePanel.add(titleLabel);
        setPreferredSize(new Dimension(800, 590));
        setLayout(new BorderLayout());
        add(titlePanel, BorderLayout.NORTH);
      @Override  // here's where I paint my background:
      protected void paintComponent(Graphics g)
        super.paintComponent(g);
        if (image != null)
          g.drawImage(image, 0, 0, this);
      private static void createAndShowUI()
        // Then I only create my JFrame when I need it.  I don't override it.
        // This way, I can use this same code in a JApplet, or a JDialog, or whatever
        JFrame frame = new JFrame("Assignment2");
        frame.getContentPane().add(new Assignment2()); // and add the JPanel to the JFrame here
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
      public static void main(String[] args)
        java.awt.EventQueue.invokeLater(new Runnable()
          public void run()
            createAndShowUI();
    }Edited by: Encephalopathic on May 26, 2008 4:11 PM

  • Inserting on graphic on HRRCF_PUBLICATION_EXT

    I have created a custom smartform for HRRCF_PUBLICATION_EXT and inserted a graphic in the Header sections.
    Although the form executes it does not display the Graphic.
    Please let me know if I need to do anything else apart from this for the image to work.
    I have created the graphic for other smartforms for ER correspondence and they work as expected, I am not sure if I am missing something on HRRCF_PUBLICATION_EXT
    Note: I have not made any changes on the Forms design from SFP tcode.
    Thanks

    Yes Graphic file was loaded successfully through se78.
    When the form HRRCF_PUBLICATION_EXT is executed in place of the graphic I see an empty box with a tiny X mark on the corner top and when I move the mouse over the image it displays the graphic file name that was loaded through se78.
    Thanks

  • Graphic images

    Inside some of the templates offered in Pages, I find numerous graphic images such as background cards and paper clips etc. Can anyone tell me where those original files reside? I'd like to include some in my custom document but cannot find a directory to where they might be.
    Thanks,
    g.

    The images are "buried" in each template which is buried in the Pages application. You can find them by Control- or right-clicking on the Pages application > Show package contents > Contents > Resources > Templates & then the folder for the template category you want. Then Control- or right-clicking on the template icon > Show package contents > Contents where you will find the actual images.
    Or you can just copy & paste from an open template.

  • Cannot insert Widget in DW CS5

    I have downloaded and customized several Widgets from the Widget Browser.  When I open a page within my site, I go to Insert ->
    Widget and nothing happens.  Also, when I go to the "Insert" group, select "Common" and click Widget, still nothing.  Does anyone have any thoughts on this problem?  On the inset menu, there is no option to expand the menu item.  Any help would be appreciated!
    Thanks,
    Tim

    David, thank you for the reply, however, the problem I am having is not with customizing a "Spry Menu Bar.  I have customized and saved various widgets to my presets, but cannot insert them the way that I believe it was intended to work.  You see, everything that I have read, and all videos I have watched show people clicking on a blank area on their webpage, and clicking on Insert -> Widget.  It is at that pont that they are prompted as to which widget they intend to insert.  As you will see on the attached image, it says you can insert the widget by performing the task as I mentioned or by going to the Browser Lab side dock, and clicking on "Common" and then on Widget.  Saving the presets to seperate files is quite a but different than what I am trying to do, and how it is described, or as seen here http://www.youtube.com/watch?v=5P91PPCw2Bs.  Please see attached, and again, thanks for your help!
    -Tim

Maybe you are looking for

  • Ringtones and email notifications!

    I just got the droid razr yesterday (it's also my first smartphone) and I can't figure out how to get ringtones! My husband has a plain phone and sent me ringtones but when I open them they play the music but there is nothing under options saying use

  • Errors Occurred During Installation...

    Hey, I've been trying to install iTunes Windows 12.1.1.4 x64, however I keep getting this error: iTunes Installer completed Errors occurred during installation before iTunes could be configured. Your system has not been modified. To complete the inst

  • AE will not accept new settings

    I have done a hard reset and I receive this message: The settings for this AirPort wireless device have been successfully updated, but there was a problem re-joining the wireless network or finding the AirPort wireless device. You may need to select

  • How to assign materials to MRP Area

    Dear All, How to assign materials to MRP Area Thanking you Regards Prashant

  • Adobe Pro 6.02

    I am using an older version of Acrobat on Leopard 10.5.2. When I try to fill out an IRS form in Acrobat 6.0.2 the typing appears until I tab over to the next location, then the text in the previous location vanishes. This happens throughout the whole