CS : Background color changes after saving image to jpeg,

Hi,
We have written a script for automatically saving the image to a JPEG format file. We are using VB.NET along with CS Script. To achieve that, we are doing the following:
we are resizing the images and setting the mode to RGB and make it 8-Bit/channel. We are using some default background color like FFFFFF (255,255,255) and FF88FF (255,136,255). These gets changed to FEFEFE (254,254,254) and FF88FF (255,136,255) changes to
'FE87FF'(254,135,255) dropping a point or so.
If any one works on that kindly let me know what is the problem. How to prevent the changes of background color.
Regards,
Amitabh

Hi,
We have written a script for automatically saving the image to a JPEG format file. We are using VB.NET along with CS Script. To achieve that, we are doing the following:
we are resizing the images and setting the mode to RGB and make it 8-Bit/channel. We are using some default background color like FFFFFF (255,255,255) and FF88FF (255,136,255). These gets changed to FEFEFE (254,254,254) and FF88FF (255,136,255) changes to
'FE87FF'(254,135,255) dropping a point or so.
If any one works on that kindly let me know what is the problem. How to prevent the changes of background color.
Regards,
Amitabh

Similar Messages

  • Application background color changes after sometime

    Hi All,
    We have an R12.1.1 instance on solaris and we are facing a strange problem.
    The background color of the application changes to blue suddenly and the Users are not able to properly see the links which are in blue. If we bounce Apache, it comes back to normal but after sometime the problem comes back.
    Please check the below two pictures to understand exactly how the color change is happening.
    pic 1: normal color - http://www.esnips.com/doc/f9614bb5-cb07-4d8e-83bc-9aa234240a93/1
    pic 2: changed color - http://www.esnips.com/doc/d3a759e7-f628-4390-8690-36b05e361c66/2
    Kindly help me in getting this issue resolved.
    Thanks.

    Hi Helios, following are the messages in apache error log file immediately received after starting up the Apps services.
    [Mon Oct  4 06:25:20 2010] [notice] Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server configured -- resuming normal operations
    [Mon Oct  4 06:25:20 2010] [notice] Accept mutex: fcntl (Default: fcntl)
    [Mon Oct  4 07:25:04 2010] [error] [client 172.16.1.136] [ecid: 1286162704:10.100.1.200:19224:0:10,0] File does not exist: /db2/orasp/inst/apps/PROD_oratdb/p
    ortal/favicon.ico
    [Mon Oct  4 07:26:29 2010] [error] [client 172.16.1.136] [ecid: 1286162789:10.100.1.200:18596:0:38,0] Directory index forbidden by rule: /db2/orasp/apps/apps
    _st/comn/java/classes/
    [Mon Oct  4 07:26:36 2010] [error] [client 172.16.1.136] [ecid: 1286162796:10.100.1.200:19349:0:3,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/c
    lasses/oracle/forms/engine/RunformBundle_ar_AE.class
    [Mon Oct  4 07:26:36 2010] [error] [client 172.16.1.136] [ecid: 1286162796:10.100.1.200:19349:0:4,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/c
    lasses/oracle/forms/engine/RunformBundle_ar_AE.properties
    [Mon Oct  4 07:26:44 2010] [error] [client 172.16.1.136] [ecid: 1286162804:10.100.1.200:19355:0:6,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/c
    lasses/oracle/forms/engine/RunformBundle_ar_US.class
    [Mon Oct  4 07:26:45 2010] [error] [client 172.16.1.136] [ecid: 1286162805:10.100.1.200:19355:0:7,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/c
    lasses/oracle/forms/engine/RunformBundle_ar_US.properties
    [Mon Oct  4 08:04:06 2010] [error] [client 10.10.111.1] [ecid: 1286165046:10.100.1.200:19356:0:24,0] Directory index forbidden by rule: /db2/orasp/apps/apps_
    st/comn/java/classes/
    [Mon Oct  4 08:04:09 2010] [error] [client 10.10.111.1] [ecid: 1286165049:10.100.1.200:19224:0:30,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/c
    lasses/oracle/forms/engine/RunformBundle_ar_AE.class
    [Mon Oct  4 08:04:09 2010] [error] [client 10.10.111.1] [ecid: 1286165049:10.100.1.200:19224:0:31,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/c
    lasses/oracle/forms/engine/RunformBundle_ar_AE.properties
    [Mon Oct  4 08:04:12 2010] [error] [client 10.10.111.1] [ecid: 1286165052:10.100.1.200:18595:0:55,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/c
    lasses/oracle/forms/engine/RunformBundle_ar_US.class
    [Mon Oct  4 08:04:12 2010] [error] [client 10.10.111.1] [ecid: 1286165052:10.100.1.200:18595:0:56,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/c
    lasses/oracle/forms/engine/RunformBundle_ar_US.properties
    [Mon Oct  4 08:46:00 2010] [error] [client 10.10.11.11] [ecid: 1286167560:10.100.1.200:19356:0:59,0] File does not exist: /db2/orasp/inst/apps/PROD_oratdb/po
    rtal/favicon.ico
    [Mon Oct  4 08:47:23 2010] [error] [client 10.10.111.1] [ecid: 1286167643:10.100.1.200:18598:0:93,0] mod_oc4j: There is no oc4j process (for destination: app
    lication://forms) available to service request.
    [Mon Oct  4 08:47:23 2010] [error] [client 10.10.111.1] [ecid: 1286167643:10.100.1.200:18597:0:126,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/
    classes/oracle/ewt/alert/resource/AlertBundle_ar_US.class
    [Mon Oct  4 08:47:23 2010] [error] [client 10.10.111.1] [ecid: 1286167643:10.100.1.200:18597:0:127,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/
    classes/oracle/ewt/alert/resource/AlertBundle_ar_US.properties
    [Mon Oct  4 08:51:45 2010] [notice] Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server configured -- resuming normal operations
    [Mon Oct  4 08:51:45 2010] [notice] Accept mutex: fcntl (Default: fcntl)
    [Mon Oct  4 08:54:39 2010] [error] [client 172.16.1.75] [ecid: 1286168079:10.100.1.200:20307:0:5,0] Directory index forbidden by rule: /db2/orasp/apps/apps_s
    t/comn/java/classes/
    [Mon Oct  4 08:54:50 2010] [error] [client 172.16.1.75] [ecid: 1286168090:10.100.1.200:20660:0:3,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/cl
    asses/oracle/forms/engine/RunformBundle_ar_AE.class
    [Mon Oct  4 08:54:50 2010] [error] [client 172.16.1.75] [ecid: 1286168090:10.100.1.200:20660:0:4,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/cl
    asses/oracle/forms/engine/RunformBundle_ar_AE.properties
    [Mon Oct  4 08:54:53 2010] [error] [client 172.16.1.75] [ecid: 1286168093:10.100.1.200:20309:0:6,0] File does not exist: /db2/orasp/apps/apps_st/comn/java/cl
    asses/oracle/forms/engine/RunformBundle_ar_US.class
    ####################################################################################

  • Applications background color changes after sometime

    Hi All,
    We have an R12.1.1 instance on solaris and we are facing a strange problem.
    The background color of the application changes to blue suddenly and the Users are not able to properly see the links which are in blue. If we bounce Apache, it comes back to normal but after sometime the problem comes back.
    Please check the below two pictures to understand exactly how the color change is happening.
    pic 1: normal color - http://www.esnips.com/doc/f9614bb5-cb07-4d8e-83bc-9aa234240a93/1
    pic 2: changed color - http://www.esnips.com/doc/d3a759e7-f628-4390-8690-36b05e361c66/2
    Kindly help me in getting this issue resolved.
    Thanks.

    Hi All,
    We have an R12.1.1 instance on solaris and we are facing a strange problem.
    The background color of the application changes to blue suddenly and the Users are not able to properly see the links which are in blue. If we bounce Apache, it comes back to normal but after sometime the problem comes back.
    Please check the below two pictures to understand exactly how the color change is happening.
    pic 1: normal color - http://www.esnips.com/doc/f9614bb5-cb07-4d8e-83bc-9aa234240a93/1
    pic 2: changed color - http://www.esnips.com/doc/d3a759e7-f628-4390-8690-36b05e361c66/2
    Kindly help me in getting this issue resolved.
    Thanks.

  • Tab background color changes when saving or downloading (Ubuntu) - bug ?

    I'm using Firefox 20.0 on Linux Ubuntu.
    When I'm opening and using Firefox, the active tab background is light gray, and the other tabs are black (with white/gray text). But as soon as I have downloaded a file (saving an image for example, or a pdf), the tabs change color: the non active tabs turn gray instead of black, and the tab text is almost unreadable (gray on gray).
    I have disabled ALL extensions (including the Ubuntu/Unity extensions) and restarted Firefox, and get the same result. See screenshot with before/after downloading: http://imagesup.net/?di=113687926169
    On the other hand, when I start Firefox in safe mode, all is well, the tabs don't change color when downloading or saving a file.
    What to do? Could this be a bug ?

    Hey, I'm on Ubuntu, too.
    It seems like you don't use Ubuntu's default theme, or at least, you have some modifications there, right? Try disabling your customizations to see if it works, I never saw / heard of this problem anywhere.
    Also update your Firefox, there are changes that your problem is fixed after updating.
    Another suggestion would be hacking about:config, for example, it might be the Download Manager's arrow flashing ( just guessing ), so you might want to disable that and see if something changes.
    search 'browser.download.manager' in about:config and play with those configs to see if anything changes.

  • Color changes after rotate image

    Hi,
    after rotate the "special" image (contains color space) the colors are changing.
    1. original image
    http://www.magix-photos.com/mediapool00/67/FC/3E/40/7E/74/11/D8/8F/AE/D1/59/D4/5B/F1/36/oma/10/C3E538A09A4211DBAE7417E2D45BF136.jpg
    2. rotate 4 times (each time 90�)
    http://www.magix-photos.com/mediapool00/67/FC/3E/40/7E/74/11/D8/8F/AE/D1/59/D4/5B/F1/36/oma/10/E19E8F409FBA11DBAFB497F6D45BF136.jpg
    3. rotate 8 times (each time 90�)
    http://www.magix-photos.com/mediapool00/67/FC/3E/40/7E/74/11/D8/8F/AE/D1/59/D4/5B/F1/36/oma/10/22BB57A09DEB11DB9E82003A55B2433B.jpg
    I'm using JDK 1.5.0_09 and JAI 1.1.3-beta.
    This is my code for rotate image:
        public BufferedImage rotateImage(BufferedImage image, int angle, int x, int y) {
            if (logger.isDebugEnabled()) {
                logger.debug("rotateImage(image, '" + angle + "', '" + x + "', '" + y + "') entered");
            if (image == null) {
                logger.error("rotateImage() failed, because image is null");
                return null;
            // convert angle in radius angle
            float radAngle = (float) ((float) angle * (Math.PI / 180.0F));
            BufferedImage newImage = null;
            RenderedOp render = null;
            try {
                ParameterBlock pb = new ParameterBlock();
                // image
                pb.addSource(image);
                // rotate about x point
                pb.add((float) x);
                // rotate about y point
                pb.add((float) y);
                // rotate with radius angle
                pb.add(radAngle);
                // interpolation
                pb.add(Interpolation.getInstance(Interpolation.INTERP_BILINEAR));
                // render
                render = JAI.create("Rotate", pb);
                newImage = render.getAsBufferedImage();
            catch (IllegalArgumentException iae) {
                logger.error("rotateImage() failed", iae);
                return null;
            finally {
                if (render != null) {
                    // clean memory
                    render.dispose();
            return newImage;
        }Has anybody idea what is going wrong?
    Best Regards,
    Rafal

    You probably have Photoshop set up to not color manage. That is not a good idea. Look
    here in the first images for how to set up your color management in photoshop.

  • Dynamic form font color changes after saving

    I have a dynamic form that before the user clicks inside a textfield ghost text appearance is set to red once the user starts typing I have an event set to turn the font to black.
    The problem is, once form is saved and reopened the font color is red instead of black. How can I get the font color to remain black?
    I am thinking that script should be in the PreSave event if so, please provide an example of how it should be written.
    Thanks

    I have several events happening in the text field
    for the ghost text (tool tip) I have set an initialize event: (by the way I did choose the color red for the font in the color picker for the tooltip color)
    this.execEvent("exit");
    this.format.picture.value = "null{' " + this.assist.toolTip.value + " '}";   
    Enter event: (this changes the font to black and bullets appear)this.fontColor + "0,0,0";
    this.font.posture = "normal";
    if(this.rawValue === null)
        this.rawValue = "l ";
    Exit event
    if (this.isNull)
       this.fontColor = "255,0,0,";
       this.fontposture = "italic";

  • Please help! Color changes after saving

    I am having a problem with some logos that I've created. The file appears normal in Illustrator, but when I try to place the logo into another file (psd, indd, ai), the colors appear very diluted. I've tried saving the logo as an eps, ai, pdf, but it doesn't seem to matter. Does anyone know why this is happening?
    Thank you!

    Check that Color Settings are identical in all programmes. This is best done through Bridge which can co-ordinate the colour settings in all Adobe products.
    Are you possibly copying from CMYK and pasting to RGB? This can sometimes cause colours to appear washed out.

  • Colour changes when saving images as JPEGS/PNGS in Photoshop CS6

    When I save my .PSD files as .JPEGS the colour of the images change drastically.
    I never experienced this issue in CS 5 or 5.5, and am only experiencing it now as I just switched over to CS6.

    Wow … another one of those threads, it seems.
    What are your Edit > Color Settings, do you embed the profile on saving, in which application do you observe the change, …?

  • Background color changed from white to yellow and =25% changed to %% on email

    I type =25% on my email and sent out, background color changed from white to yellow and =25% changed to %%.

    Try leaving a space after the =
    Thus: = 25%
    Where and when did it change? Did it change inside Thunderbird? Did it change in the Sent folder? Or in a reply to you?
    = and % are used in certain types of email encoding; =20% often appears, meaning character 0x20 which is 32 denary or the space character. It is often used where an explicit space would be illegal, and this is common in URLs and other links. I'm thinking that =25% similarly has a special meaning. It ''shouldn't'' get decoded, but software is buggy.
    I can't reproduce it here, which is why I'm asking about how and when it changes. Where does the Microsoft software come into it?

  • CS5 indd files occasionally change after saving and reopening

    Occasionally the contents of my InDesign document will change after saving and re-opening.  No errors reported during the save however when the file is opened a text box may be out of place or leading may be messed-up on a few random pages or some of the recent changes may not have been saved.  Any ideas?

    There was no direct indication that you created the code in a standard module. I asked because you reported that the code works in the sample workbook that you downloaded but not in your own workbook.
    I don't know what else to suggest at the moment.
    Could you create a stripped-down copy of the workbook (without sensitive information) and make it available through one of the websites that let you upload and share a file, such as Windows Live SkyDrive (https://skydrive.live.com),
    FileDropper (http://filedropper.com) or DropBox (http://www.dropbox.com). Then post a link to the uploaded and shared file here.
    Or register at www.eileenslounge.com (it's free) and post a message in the Excel forum. You can attach files up to 250 KB to a post there (zipped if necessary).
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Cell/Background color changes when copying to other Excel 2010 document

    When you copy and paste report cells (e.g. CO report outputted in Office integration, MS Excel) to a new Excel file, the background color changed dramatically (to bright red).
    SAP Theme:  SAP Signature Theme
    Excel 2010
    We tried paste option > match destination formatting but does not help.
    Anyone has similiar problems?  Appreciate any help.

    dear friend,
    you would do:
    1. search SAP Notes;
    2. check out the updates/patches for your MS Office;
    3. replicate it on another computer/another sap user (make sure it is a local issue)
    good luck!

  • I am using adobe photoshop cs6. I am facing a problem. When i save any image as "save for web". After saving image it show cropped. An image show many parts of the image after saving the image. Please help me. Thanks in advance.

    I am using adobe photoshop cs6. I am facing a problem. When i save any image as "save for web". After saving image it show cropped. An image show many parts of the image after saving the image. Please help me. Thanks in advance.

    Just go back in photoshop and use the Slice Select tool, then just click and select the slice and hit delete - if you're not sure which one is the active slice just right click and find the one that has the Delete Slice option.
    It's possible you either added the slices by accident or if you received it from someone they just had the slices hidden. For the future, you can go to View > Show > Slices to display (or hide) slices.

  • Color change after exporting from Lightroom

    I noticed a drastic color change after exporting a file from Lightroom to a JPEG file today. I have been using Lightroom for a while, and it never happened before. I am assuming that I changed the setting somehow and I cannot find how to fix it.
    Here is the original.
    After exporting to a JPEG. The color is so drastically different. I tried both sRGB and AdobeRGB and they turn out to have the same problem.
    It is not as clear as JPEG files, but edited files with Photoshop CS5 also looks slightly different viewed on Lightroom.
    I would appreciate it if anyone could help me.  Thank you so much for your help!

    Thanks everyone for looking into my problem!
    >Can you upload a sample of each
    >* Raw File
    >* XMP Sidecar
    >* Exported JPEG
    I somehow can't find XMP sidecar files in my folders.... So instead, I exported the JPEG file to the 2nd JPEG file, hoping you can compare those two JPEG files.
    The colors get lighter and lighter every time I export the files. I uploaded those files (RAW, 1st JPEG, 2nd JPEG) on line. I also changed the file samples from the original post because I can't add watermarks.
    I checked my flles, but there is no preset applied to the JPEGs.
    I am thinking of unistallng Lightroom and reinstalling it and see what happens.
    Thanks!
    1. The data of the RAW file: http://yuko-hirao-photo.hechtmail.com/others/DSC00530.ARW
    2. Data of the GPEG exported from the RAW: http://yuko-hirao-photo.hechtmail.com/others/DSC00530test_upload_01.jpg
    3. Data of the JPEG exported from above JPEG: http://yuko-hirao-photo.hechtmail.com/others/DSC00530test_upload_01test_upload_01.jpg

  • [svn:fx-trunk] 5313: Application, WindowedApplication, and Window background color changed to white.

    Revision: 5313
    Author: [email protected]
    Date: 2009-03-13 19:10:24 -0700 (Fri, 13 Mar 2009)
    Log Message:
    Application, WindowedApplication, and Window background color changed to white.
    QE Notes: None
    Doc Notes: None
    Bugs: sdk-16721
    Reviewer: Ryan
    tests: checkintests, cyclone build tested
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-16721
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/airframework/defaults.css
    flex/sdk/trunk/frameworks/projects/framework/defaults.css
    flex/sdk/trunk/frameworks/tests/checkinapp/checkinapp.css

    Hi,
    When system is in a sleep mode or hibernate mode, it will save the data ans settings in memory or hard disk, so I suggest you run a memory check and a harddisk check and see if it can detect any errors.
    Memory check (instruction is similiar to windows 8\8.1, type "memory" in the search charm bar)
    http://windows.microsoft.com/en-in/windows7/diagnosing-memory-problems-on-your-computer
    Hard disk check
    http://technet.microsoft.com/en-us/magazine/ee872425.aspx
    Meanwhile, please check event viewer to find more information, useful path: event viewer\Windows logs or event viewer\Applications and Services Logs\Kernel-power
    Yolanda Zhu
    TechNet Community Support

  • I have problems with uploading images to my printing company have the images have been manipulated through CS6 i have saved images as jpeg but the printer company tell me they are not j peg, they will not upload images save from a camera are fine

    I have problems with uploading images to my internet printing company when  the images have been manipulated through CS6 and  i have saved images as jpeg  the printer company tell me they are not j peg,
    but images saved from my phone or camera images that have not been manipulated upload fine, What am i doing wrong?

    Save/Export them as JPG. Photoshop defaults to PSD, so make sure you select JPG and not just rename the file to .jpg.
    There are two ways to save them as JPG: Regular Save as option or Save for Web & Devices
    Take your pick.

Maybe you are looking for

  • [solved] problem with libc and eggdrop

    After the last packages update eggdrop don't work anymore prob with libc.so.6 how can i downgrade to the previous libc version ? edit : tried to downgrade glibc (ver 14 and 13) and same problem Thank you [phoenix@styx eggdrop]$ ./eggdrop Eggdrop v1.8

  • Scales in Scheduling agreement.

    Hi, This query i am posting again, as there is a need from my client for this regularly. I need your expertise for meeting out this functionality. Hi, Pl findherwith the following sceario. I had created a Scheduling agreement for 5000 units with the

  • Assign a transaction code to a Quickview in SE93

    Hi, I created a quickview using t-code SQVI. I want to assign this quickview to a transaction code using t-code SE93. In SE93, I maintained: Name of screen field: D_SREPOVARI-REPORTTYPE   Value: AQ Name of screen field: D_SREPOVARI-REPORT  Value: ???

  • Using standard texts in reports output

    Hi, Would you please let me know the process of using standard texts created in So10 transaction in reports development. READ_TEXT function module made me to code a lot as per my requirement. Thanks, Kumar.

  • Unmatching Zipcodes and charges without purchases

    So, the other day I decide and try to purchase the Crash Bandicoot game for my iPhone which is $9.99. I go through the usual buying process and then it says there is a problem with a past purchase and to click on something to solve it. I click on it