How can i create 256 colors (8 bits) jpeg ?

Dear all :
The jpeg created by JPEGEncoder was in true color (24 bits) , how can i create or convert the jpeg to 256 colors . Because i want to convert the jpeg to gif in further , but the gifencoder i found can only accept the images that with 256 colors only , so any one can give me a help ? Or the ways that convert a jpeg to gif using java ?

To reduce the number of colors in an image, try:
http://www.gurge.com/amd/java/quantize/
This does a very good job of reducing colors without making the image look too different.
Further, if you want to encode a GIF file, try using:
http://www.acme.com/java/software/Acme.JPM.Encoders.GifEncoder.html
There should be some sample code which shows you how to use those packages on their respective websites. Hope this helps!

Similar Messages

  • In elements 10, how can I create a wtaermark on a jpeg - please step by step.

    Please, I'm a bit new to elements10.
    Please, I would like to know, how I can create a watermark on a jpeg file.  please step by stpe
    Thank You, so much!
    David

    http://graphicssoft.about.com/cs/photoshopelements/ht/psewatermark.htm

  • How can you create a swatch from a jpeg in Illustrator CS4?

    I am trying to create a jpeg image into a swatch in Illustrator CS4. In previous versions you could simply drag the image into the swatches toolbar and it would convert it automatically. Now when I do that nothing happens. When I click on new swatch it creates a colour swatch instead of the actual image itself.

    When you say you would drag the image itself into the Swatch Palette and it would show the image itself? How would then use this swatch? Can you give an example of what you would apply a jpeg to as a swatch? The only palette that I can think of off the top of my head that you can drag a jpeg into and have the icon appear as the jpeg is the Symbols Palette. Is is possible that you were using the Symbols Palette in the past and not the Swatch Palette?

  • How can I create webpages as PDF or Jpeg form for client to proof

    Hello All,
    I am doing a website for a client and need to send a proof to him at the end of the day.
    Is there a way to export the page with the actual pixel dimensions in a jpeg or PDF without publishing each time. I tried doing a screen capture (apple +shift +4) but if you have long vertical page you can't get the capture to scroll down.
    any other suggestions how I can export a single page as a graphic.
    J5

    Try Paparazzi@. It can make pdfs, jpgs and other image formats of your web pages even if they are too long to fit on the screen for a screenshot.
    OT

  • How can one create a paint color generated from a photo using Kuler?

    How can one create a paint color generated from a photo using Kuler?

    The best way to remove a pattern is to use a Fast Fourier Transform.  There's a free plugin (as well as examples and instructions) here:
    http://dl.dropboxusercontent.com/u/6795661/4N6site/improc/fftplugin/examples.htm
    Using the plugin requires editing the individual colour channels, which PSE does not natively allow.  You'll need the reasonably-priced Elements+ addin:
    http://elementsplus.net/
    Here's a crop at 100% of the result I got:
    The pattern is much reduced.  With some experimenting, you can probably do a little better.
    Ken

  • How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)

    Hello,
    Here is the problematic:
    1° How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)
    - I've many button in a doc im creating
    - the color of the buttons is white with black stoke & black text
    - in roll over state i want them to inverse the color coding (the text white & bottom black)
    - currently the text becomes invisible as black on black cant be seen (ive stroked it white but that looks ugly)
    - i would just like to know if there is a function made for this?
    My other questions:
    2° Ive a presentation on which Ive created buttons which tigger pop-up animations
    - i have 5 buttons which trigger animations
    - the viewer can chose to Click on any of the buttons randomly
    - the problem is once the animation is open how can it be close... either:
    a) by it self after "40" seconds
    b) when ther viewer clicks another button
    3° Ive created buttons linking pages..
    - "go to page xxx"
    - when i do a preview and click on the buttons the links dont take me to the right pages
    - is that normal? (maybe in preview its suppose to be like that)
    4° I would like to intergrate YouTube videos in the presentation so they play inside the docment.. when i tried.. it said the 'link isnt a flash video'
    - what should i do?
    5° Once i export it into Swf. how how can i visualize it? or put it online?
    Thank you for your time.

    stlbbl4u wrote:
    Hello,
    Here is the problematic:
    1° How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)
    - I've many button in a doc im creating
    - the color of the buttons is white with black stoke & black text
    - in roll over state i want them to inverse the color coding (the text white & bottom black)
    - currently the text becomes invisible as black on black cant be seen (ive stroked it white but that looks ugly)
    - i would just like to know if there is a function made for this?
    You should setup Object Styles - these can also include Paragarph Styles that can be triggered when the Style is selected.
    http://help.adobe.com/en_US/indesign/cs/using/WS5CEDB81A-0011-4dc9-9DE8-AC7AD4C80076a.html
    My other questions:
    2° Ive a presentation on which Ive created buttons which tigger pop-up animations
    - i have 5 buttons which trigger animations
    - the viewer can chose to Click on any of the buttons randomly
    - the problem is once the animation is open how can it be close... either:
    a) by it self after "40" seconds
    b) when ther viewer clicks another button
    I'm not sure what you mean - I don't do files with Animations
    3° Ive created buttons linking pages..- "go to page xxx"
    - when i do a preview and click on the buttons the links dont take me to the right pages
    - is that normal? (maybe in preview its suppose to be like that)
    Does it work properly when you export it to the finished file?
    4° I would like to intergrate YouTube videos in the presentation so they play inside the docment.. when i tried.. it said the 'link isnt a flash video'- what should i do?
    InDesign won't link directly to youtube videos. I think your best bet would be to use Downloader to download the video and embed them directly in Indesign.
    5° Once i export it into Swf. how how can i visualize it? or put it online? 
    Thank you for your time.
    You can look up how to embed a SWF file into your HTML - but it depends what you mean by "online" there's a dozen ways to get a file "online".

  • How can I create a new partition to install Windows 7 by not using Bootcamp

    How can I create a new partition to install Windows 7 by not using Bootcamp?

    If you want to dualboot you have to use boot camp i think. I think you have already a full disc and cannot make another partition I'm I right?
    Your question seems a bit blurry so I'm giving you a general tip here.
    If you want to just try the beta you can always use Sun's "Virtualbox".

  • How can i create a new calendar?

    how can i create a new calendar and change the color of it? ipod 5 generation

    Go to Calendar>Edit>Add Calendar. You can name the new calendar and select color

  • How can i create a new item in the app "health"?

    how can i create a new item in the app "health"? I need a field for documentation of "Waist-to-height ratio", exactly for "circumference".
    It's a matter of common knowledge, that the Waist-to-height ratio (WHtR) has more significance then the Body-Mass-Index (BMI).

    If you mean you want to change a color of a calendar category or create a new one, you cannot do that, what is pre-loaded is what you get and cannot be edited.

  • How can I change the color of a box in book layout?

    I am try to change the color of a photo box when making a book.
    Will the box print? and if so how can I change the color
    Thank you
    Mark

    The box will print... but there is no way to just assign a color to a box. The closest you can get is ot create a small solid colored image in Photoshop and assign that to the box. You may get a resolution warning but as long as it's a solid color it does not matter how few pixels you have.

  • How can I change the color in this "pieces"

    Hello guys, I'm new in the forum and I'm searching for help.
    I'm using a free template that I downloaded from
    the internet but I'm having a small problem.
    When I put the logo that I want use in the template, the color is not the original one,
    after some minutes trying to discover how I could change it to the original version of the logo, I found an option on "fill" with a color that I could change..
    the problem is that when I change the color, all the logo changes in the same time, so I created 2 logos.. one of then only with the dark color and the other with the red color
    so with this method I could change both colors on this "fill" option and all would be okai.
    the problem is that both of the logos are changing in the same time.
    I need to change the X to RED and the Moto to Black
    Another problem that I have is : the little pieces of the logo that come all togheter, they are all black.. and i need to change it to the right color.
    cause the text are in one color and the pieces are all black.

    I did it, but i saw that Fill effect is a little "Shadow" behing the text... just for a small white line... I'm almost done with this intro, now I'm trying to find out how can I change the color from the X and MOTO
    cause when I change the color, both changes, and this can't happen.
    I need the X red and the Moto dark...
    I made 2 compositions ... one with just the X  X red.. and another with just Moto in dark color... but I don't know how to put this 2 compositions in 1 composition.

  • How can I create a card with only a picture on the front - inside blank

    How can I create a card that only has a picture on the front and the inside is blank?

    Use the Holiday Colors theme for a folded card.  For the outside select the layout that just includes a full page photo. For the inside select the layout that suits your eye..
    As far as the text boxes are concerned just put a single space in them and then order.
    OT

  • How can i create a camera profile with camera raw?

    Hi
    how can i create a camera profile with camera raw without x-rite or other third software?
    i have a Colour Checker ,with different shade of gray and different colors
    i remember about a script or something like that
    i google a lot , but without luck
    can i create my camera raw profile using a color checker with photoshop acr ?
    i'm not sure but this should be the script http://simon.tindemans.eu/tools/acrcalibrator , right?
    but i don't know how use it
    is there a tutorial ? maybe a video to create a profile with camera raw
    thanks
    greetings

    Hello, I think that you search for https://www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5Fdngprofileeditor
    Here is a PDF from adobe about it: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/cs6/ DNGProfile_EditorDocumentation.pdf
    And an article: http://www.luminous-landscape.com/reviews/accessories/dng-profiles.shtml

  • How can we change the  color of the image for product display for different

    Hi All,
    How can we change the  color of the image for product display for different colors, to be displayed on site.
    jeff

    Hi priya,
    The requirement that you have stated is not a standard feature in ISA CRM. In order to do the same, you will need to modify the standard ISA code in Java. A common path for the solution would be as follows:
    1. Colours
        a. Maintain a text type for Color under the object - PCAT_ITM in Customizing.
        b. Modify the standard search of ISA to search within your new text type as well. (In standard it only searches in Description.
       c. Maintain all shirts colour data in the new type created in step a.
       d. Your requirement will be done!
    2. Price
      a. Use list prices for your shop and assign the appropriate condition type, acces in your catalog.
      b. Modify the standard search of ISA to search on the list prices as well.
      c. This too will be done!
    3. Accessories - This is very tricky, and will require some exploration. However, here's my opinion,
    a. Search for the standard function module, which will return the accessories when provided the product as an input.
    b. Modify this function module according to your requirement and ensure that it can be accessed remotely.
    c. Modify the JSP as in steps 1b and 2b above to call this new remote-enabled function module.
    d. Now you're done!!
    The ISA modification part is not so simple, you need a really good guy like "Sateesh Chandra" who'll be able to handle your requirements. This is all I could manage, hope it is some help to you!
    Thanks & Regards,
    Nelson.

  • How Can I add a color profile to OS X 10.8.4?

    How Can I add a color profile to OS X 10.8.4?
    I've tried to locate the color profile folder but it's not availble.

    Hello gipseyeyes,
    It sounds like you're trying to add a ColorSync Profile to your Mac.  I found a few resources that may help.
    First, I recommend reviewing the following article:
    Mac OS X: How to Create a ColorSync Profile Used By Every Account
    http://support.apple.com/kb/TA22329
    The note in step 6 from that article is particularly useful for your situation:
    Note: You may need to make some of these folders if they do not exist.
    Also, the user Library in Mountain Lion is hidden, so you will need to follow these steps to get to "~/Library/ColorSync/Profiles/":
    OS X Mountain Lion: What is the Library folder?
    The Library folder contains files used by OS X and your apps, including your personal fonts and preferences. The Library folder is hidden. If you need to open it, make sure you are in the Finder, hold down the Option key, and then choose Go > Library.
    You can find the full article here:
    OS X Mountain Lion: What is the Library folder?
    http://support.apple.com/kb/PH11395
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

Maybe you are looking for

  • Installed 4.9... now iTunes won't even launch

    Okay.... here it is: I downloaded and installed 4.9 and now when I click on the iTunes shortcut on my desktop, iTunes won't even launch. In addition, my laptop won't even shut down properly now. I get a bizarre error message and it hangs for 4 or 5 m

  • INSERT command in 11g not working

    I m executing the following command in oracle 11g,but its saying column not allowed here.Is there any problem in command??interest_id is the primarry key. I tried all sorts.. but it isn't working... please some one tell me the solution.thank you. INS

  • PowerShell Script for updating accounts in CSV

    Hi Experts...!!!! I need to have a power shell script that can update the status(Enable/disable) accounts given in a .csv file with DNs of the user accounts in it.... Any suggestions... Thank You...  TechSpec90

  • How to use decide shape in orchestration

    hi all, please guide me to how to use decide shape in orchestration , me requirement is when i got output with records then only i need to process to output folder, otherwise i need to send as a exception. Thanks Chinna

  • BAPI_0036_CREATE does not post budget to Funds Management

    Hi, We are using BAPI_0036_CREATE to create budget for a grant and posting to FM. It is creating a document in GM in  'unreleased' status, but not posting to Funds Management. We are passing FM data in the function module, but for some reason its not