How can I read *.pcx Image ?

Hello!
Now, I want to read and save pcx image.
I use jimi1_0 and its sample that name is JimiBrowserApp.
I load jpg image, and I can save as pcx image.
But, then, I try to read the same pcx image, I can't.
why?
Do you have any idea ?
please help.

Hello,
Once I thought that I could solve a problem.
I use PcxReader,
http://www.burgsoft.com/PcxReader/
I can read pcx image of 256colors, fullcolor, grayscale...
But I can't read pcx image of 2colors(black and white).
help

Similar Messages

  • How can I read the image from database into form

    hi everyone
    if I have table like this
    create table test
    (id number(10),
    pic long raw);
    in this table record
    in form If I have block non database
    how can i read the image into non database item
    I try with this code but no good
    select pic into :photo from test where id=5;
    photo its non database item kind image
    how can i invoke image into item
    thanks alooooooot

    Hello,
    You can't select image with select query. You need to create another database block from test table which has item binds with database pic column. Now in where condition in test block's property you have to write id=5. Change test block's properties UPDATE ALLOWED, INSERT ALLOWED, DELETE ALLOWED to NO. Only Query allowed property set to YES.
    Now in your particular trigger write the code
    GO_BLOCK('test');
    Execute_Query;
    please mark if it help you or correct
    Regards,
    Danish

  • How can i  read a image from a oracle DB?

    How can i read a image from a oracle DB?
    Because in the DB a have a field that is a picture that i would like to show in a jpanel.....but this field is in oracle DB only has strange caracters ..... so Do i have to read this field like a input stream?....
    Could some body help me please?
    Thanks...
    Mary

    Well I suppose the picture is stored in a blob. If that is so this is some code I have used to load a picture to a panel. Hope you find it usefull.
    PreparedStatement retreive = db.createPreparedStatement("select bl from test where ln = ?");
    Blob bl;
    try{
    retreive.setBigDecimal(1, new BigDecimal(jTFln.getText()));
    ResultSet rs = retreive.executeQuery();
    if (!rs.next())
    System.out.println("Empty Result Set");
    bl = rs.getBlob("bl");
    if (bl == null) {
    System.out.println("Null Blob");
    return;
    InputStream is = bl.getBinaryStream();
    int imageLength = (int) bl.length();
    System.out.println(imageLength);
    System.out.println(bl.length());
    byte[] imageData = new byte [imageLength];
    is.read(imageData, 0, imageLength);
    image1 = new ImageIcon(imageData);
    photo = new JPanel() {
    public void paint(Graphics g){
    g.setColor(Color.lightGray);
    g.drawImage(image1.getImage(), 0, 0, this);
    } catch (BadLocationException ble){
    ble.printStackTrace();
    } catch (SQLException sqle){
    sqle.printStackTrace();
    } catch (IOException ioe){
    ioe.printStackTrace();
    }

  • How can I read a image file through URI?

    I have a image file store in my computer's Image directory on drive E. I name the pathname as:
    file:////MyComputerName/e:/image/
    the image filename is MyImage.JPG
    so I create a ImageIcon use:
    String uri  = "file:///MyComputerName/e:/image/";
    String imagefilename = "MyImage.JPG";
    ImageIcon ii = new ImageIcon( uri+imagefilename);
    Image myimage = ii.getImage();but I can not get the image.
    Does anyone know what's wrong?
    Thank you

    Read the documentation for ImageIcon(String path) -- the String is a file path,
    not a URL. If you want to pass a URL to ImageIcon, use ImageIcon(URL url).
    So, either of the following works:
    URL url = new URL("file:///e:/image/MyImage.JPG");
    ImageIcon imageIcon1 = new ImageIcon(url);
    String path = "e:/image/MyImage.JPG";
    ImageIcon imageIcon2 = new ImageIcon(path);In case you even need it, to convert a file into a URL, you can write:
    URL url = file.toURI().toURL();And finally, you may want to check out BufferedImage and ImageIO.
    You can read in a BufferedImage in one line:
    BufferedImage image = ImageIO.read(file_or_url_etc);and a BufferedImage offers may advantages over a plain old image.

  • How can i read a image from clipboard

    Hi all,
     Can you anyone help me to figure out this problem,actually i have an VI that capture screen image(similiar to print screen option in windows) & save it in a file.and now the thing is,its working in code,once if i converted that to EXE it is not reading that image from the clipboard .I have attached that VI along with this thread please check it.
    Attachments:
    Clipboard.vi ‏20 KB

    Hey,
    It seems that the Get Image from Clipboard method is not available for executables.
    The following thread gives a working example with a CIN -> http://forums.ni.com/ni/board/message?board.id=170&message.id=35987&requireLogin=False
    Christian

  • How can I read the images' path in the stored catalog?

    I'm really new to pluginu development and LR. I have a problem finding the right methods to execute my intentions.
    I'd like to get the real path(s) of the pictures in the catalog, so that my external plugin can use them for further processing.
    I know Lightroom stores the catalog in C:\Users\[user name]\Pictures\Lightroom\Lightroom 5 Catalog.lrcat. But I want to get the actual path to each .jpg inside that catalog and write that path into a simple file (e.g. .txt) from which my plugin can read the path and use the images chosen by the user in LR.
    Then my plugin stores the processed images with tags into a file which should be read by LR. I don't know if it's so easy. Maybe it must create an extra collection for the catalog?
    The thing is that the Lightroom 5 manual isn't really helpful. And it would be great if someone could help.

    Thank you. I already figured it out by searching the whole internet
    But there's a thing bugging me. I want to delete the log file in which all paths are stored because everytime I run the plugin I get duplicates of the paths.
    So I thought of removing the existing log file before every time I use the plugin.
    I tried LrTasks.execute("del %HOMEPATH%\\Documents\\photosPath.log"). But nothing happens. When I use my personal path then it works pretty well. But I want it to work on any computer....

  • How can I read Publishing Image url field programmatically

    Hi,
    I have a document library contains some documents.
    So I have a sitecolumn which have the type "Publishing Image",Now I wanted to read the publishing image programmatically.
    Please provide me the sample code to read.
    Appreciated if you can help.
    Thanks,
    Krishna 
    Krishnasandeep

    Use below line of code
    class Program
    static void Main(string[] args)
    try
    using (SPSite site = new SPSite("http://yoursite"))
    using (SPWeb web = site.RootWeb)
    if (PublishingWeb.IsPublishingWeb(web))
    PublishingWeb _pweb = PublishingWeb.GetPublishingWeb(web);
    if (_pweb != null)
    if (_pweb.DefaultPage.Level != SPFileLevel.Checkout)
    if (_pweb.DefaultPage.Item[FieldId.PublishingPageImage] as ImageFieldValue == null)
    _pweb.DefaultPage.CheckOut();
    ImageFieldValue _field = new ImageFieldValue();
    _field.ImageUrl = "/SiteCollectionImages/home.gif";
    _pweb.DefaultPage.Item[FieldId.PublishingPageImage] = _field;
    _pweb.DefaultPage.Item.Update();
    _pweb.DefaultPage.CheckIn("Added Image");
    if (_pweb.PagesList.EnableMinorVersions)
    _pweb.DefaultPage.Publish("Published");
    if (_pweb.PagesList.EnableModeration)
    _pweb.DefaultPage.Approve("Approved!!");
    Console.WriteLine("Image Added");
    catch (Exception ex)
    Console.WriteLine("Error :" + ex.Message);
    Console.ReadLine();
    This is from the 
    http://www.c-sharpcorner.com/uploadfile/bhushangawale/adding-publishingpageimage-programmatically-sharepoint-publishing-pages/
    You can take the reference of this code , to get the publishing image field.
    1)First you need to get the publishing web.
    2)Then get the publishing page for the web from which you need to fetch the data.
    3)So that targeted page you will get as an item format
    so using below code get the field value
    ImageFieldValue _field = Item[FieldId.PublishingPageImage] as ImageFieldValue
    Now you can access the properties of the field using this object i.e.
    _field.ImageUrl will give you the url stored.
    Hope this will help you.
    Hiren Patel | Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • How can you use one image and edit it three different ways to export later?

    I am a new Lightroom 3 user.  How can use the same image and edit it multiple ways to produce mulitple images to later export?  For example,  I have a picture of a bride and groom.  I want to use that image and create a color image, a black and white image, and a close up of their hands.

    Do I need to do either of those options before I start editing the image at all?  For example,  what if I am working on the image and doing some creative edits.  Then I think of another option that I could do.  Is it too late at that time or can I still get the original image to begin with?

  • How can I save the images to the iPhone anywhere

    Hello  I own Time capsule 3 tb. How can I save the images to the iPhone anywhere in Time capsule
    note i used fileexplorer when Outside the home isee Outside Message " error connection failed with the error operation time out "
    Thanks

    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store
    If you want to back up the Photos only:
    Export them using the File -> Export command.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • When I try to same an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!

    When I try to save an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!
    == This happened ==
    Every time Firefox opened
    == I updated to one of the firefox versions (Not sure which one it was)

    Thanks Alex, but sadly I already tried that. Neither .docx or .xlsx files show up in the content list. They both show as a Chrome HTML document so changing how Firefox addresses those doesn't help since it thinks its the same type of file. I don't think I can manually add files into the "Content Type" left side nav.

  • How can I attach an image without the image is in the email body? (using the new mail the Lion)

    How can I attach an image without the image is in the email body? (using the new mail the Lion)
    I want in attachment, not in the body mail.

    I think your only solution is to zip the image files first and then attach them.
    Read this from a site I found:
    Sending Graphical Attachments -- When you attach a graphical image to your message, the recipient of your message sees the image inline (that is, in the body of the message) if her email client supports inline display. ("Take Control of Email with Apple Mail" contains a table listing the capabilities of popular Mac and PC email clients.) If a client does not support inline display (or the recipient has turned off the inline display option), the file appears as an attachment that must be opened in a separate program.
    On the one hand, an inline image is easier for the recipient to see - all she has to do is look at it. On the other hand, inline images can be frustrating to scroll through. If you do not wish to send a graphical image inline, you must compress the file before attaching it - Mail, sadly, lacks a built-in compression option, though fortunately for Panther users, the Finder offers Zip compression without requiring a separate application.
    Note that when you compose a new message, Mail always shows attachments in the body of your message. You can manually drag them somewhere else, but many email clients display all attachments in a separate list, regardless of where you place them in the message body.
    If you paste an image into a message or drag & drop an image from another window (say, a Web browser), Mail converts the raw image data to an attachment in TIFF format. On the other hand, if you drag & drop the icon of an image file (or use the Attach button to locate the file using the file browser), Mail leaves the attached image in its original format. This difference is significant, because although most email clients can display JPEG images just fine, support for TIFF - especially in non-Mac email clients - is less common. If possible, I suggest attaching image files as opposed to pasting or dragging in raw image data.

  • How can we get the image which is stored in clipboard by labview, is there any functions available like text from clip board

    How can we get the image which is stored in clipboard by labview, i can get the text in clipboard by using invoke node directly.but i cannot get the image, is there any functions or vi available.(image is in Png format)

    The Read from Clipboard method is, unfortunately, limited to text. If the clipboard contains an image then you need to use OS-specific functions calls. This is an example program for Windows. It's old, but it should still work.

  • In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone.

    In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone which are downloaded and not saved,but they remain in cache.
    Even in some apps i have data which i want to remove,but cant find a way to remove them and they are in my cache eating up my memory.

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • How can I convert an Image ( or BufferedImage ) to Base64 format ?

    Hi folks...
    How can I convert an Image, or BufferedImage, to the Base64 format ?
    The image that I want to convert, I get from the webCam connected to the computer...
    Anyone can help me ?
    Rodrigo Kerkhoff

    I suggest you read this thread concerning this:
    http://forum.java.sun.com/thread.jspa?forumID=31&threadID=477461
    Failing that, Google is your friend.
    Good luck!

  • Re: How can I post an image?

    Merging the hints, how does this look?
    Showing an image in Apple Discussions requires two things.
    1. The image has to exist and be accessible from a working server somewhere.
    2. Then the image can be referenced in html and will appear in your post.
    1. To achieve the first you need to register on one of the many free web photo hosting sites. An example of one would be Flicker. (If you have your own web site you can of course host your picture there.)
    Having taken a snapshot of the thing in question (the image), perhaps by using the Grab application on your Mac, you upload the image to your photo hosting site.
    You'll then need to get its URL from the site. It might be easy to see or you might have to read the site's FAQ for those details, as there are differences between sites.
    Easier still, if you are using Safari or Firefox right clicking (or Control click with a one button mouse) on the uploaded image will copy the link for you.
    It will have a form like this:
    http://farm3.static.flickr.com/2186/24541163585b68ff68b8s.jpg
    When you find it, open a new tab in your browser and paste it into it, to check that it displays and is therefore the correct URL for the image.
    2. To add this image to your post here on Apple Discussions, place an exclamation point before and after the link, illustrated as,
    !http://farm3.static.flickr.com/2186/24541163585b68ff68b8s.jpg!
    which produces the image in the post.
    !http://farm3.static.flickr.com/2186/24541163585b68ff68b8s.jpg!
    An alternate html format is;
    <img src="http://source.address.of.image.jpg"/>

    How can I post an image? (Revision 2. Thanks to rrcharles)
    Showing an image in Apple Discussions requires two things.
    1. The image has to exist and be accessible from a working server somewhere.
    2. Then the image can be referenced in html and will appear in your post.
    1. To achieve the first you need to register on one of the many free web photo hosting sites. An example of one would be Flicker.
    Having taken a snapshot of the thing in question (the image), perhaps by using the Grab application on your Mac, you upload the image to your photo hosting site.
    You'll then need to get its URL from the site. It might be easy to see or you might have to read the site's FAQ for those details, as there are differences between sites.
    Easier still, if you are using Safari or Firefox right clicking (or Control click with a one button mouse) on the uploaded image will copy the link for you.
    It will have a form like this:
    http://farm3.static.flickr.com/2186/24541163585b68ff68b8s.jpg
    When you find it, open a new tab in your browser and paste it into it, to check that it displays and is therefore the correct URL for the image.
    2. To add this image to your post here on Apple Discussions, place an exclamation point before and after the link, illustrated as,
    !http://farm3.static.flickr.com/2186/24541163585b68ff68b8s.jpg&#033;
    which produces the image in the post.
    !http://farm3.static.flickr.com/2186/24541163585b68ff68b8s.jpg!

Maybe you are looking for

  • If our material lost at vendor end.

    Hello experts, I need to discuss a scenario related to debit note for Sub-contractor. I will try to explain it using example....      - Suppose we send 10000 pcs of a component to the sub-contractor for job-working.      - But the sub-contractor send

  • BPM Vs Alert

    If I want to use ALERT, should I need to have a BPM in my Scenario? For example I am doing a File to File scenario, after successful execution of this process, I want to Trigger an Alert, whether it is possible? If so, how to do this? Thanks.

  • [SEND_REPLY(9)] [C4036]: A server error occurred. : transaction failed:

    Anyone know why I'm getting this error? On the client side I'm getting the following exception: [SEND_REPLY(9)] [C4036]: A server error occurred. : transaction failed: Unexpected Broker Exception: [received message with Unknown Transaction ID -1: ign

  • Trouble with photos pasting to image contact in addressbook

    When I try to paste a photo onto the image box for my contacts in addressbook while on MacBook Pro, it only stays for 3 seconds, then disappears. I'm not sure why the photo doesn't stay.  But if I take a picture with my iphone 4s, the photo will stay

  • No startup disk

    I was trying to install windows xp on my MacBook Pro using Bootcamp, and somehow the Macintosh HD disk was deleted. Now there are 2 disks that show up when choosing where to install snow leopard and they are "UNTITLED" (which i created in Disk Utilit