Is it possible to load a non-standard image using some Java API?

Hi,
My "problem" is:
1. I have an image called "mediterranean_sea.IMG" (non-standard image format)
2. I need to process it (histogram, palette, etc).
3. I'm wondering if it is possible to load this image an process it using some Java API.
4. I've tried to do this using JAI but I think that this API only works with TIFF, PNG, JPEG, etc.
Any idea?
Thanks in advance,
Roger

[url http://forum.java.sun.com/thread.jsp?thread=468188&forum=31]Cross-post

Similar Messages

  • Is it possible to change out of the box Callout content for already existing library using some javascript API ?

    Is it possible to change out of the box Callout content (change DOM elements) for already existing library using some javascript API?
     API ?

    Hi,
    We can use CSS and jQuery to achieve it.
    Please add the following code into the Content Editor Web Part.
    <style type="text/css">
    .js-callout-content{
    display:none;
    .js-callout-mainElement span{
    display:none;
    .js-callout-mainElement{
    border-width:0px;
    </style>
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    $("a[title='Open Menu']").click(function(){
    setTimeout(function(){
    $(".js-callout-body .js-callout-bodySection").eq(0).html("<span>Test</span>");
    $(".js-callout-mainElement span").show();
    $(".js-callout-content").show();
    $(".js-callout-mainElement").css("border-width","1px");
    },1000);
    </script>
    Result:
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Is it possible to extract the text and images using PHP

    Hi friends,
    Is it possible to extract the text and images using PHP, in the same order as it is in the PDF?
    Else is it possible extract the same as XML using PHP, or ASP
    I googled it but its in vain, any help is appreciated.
    Thanks in advance.

    Dear Mike,
    Thanks for your quick reply,
    I mean is it possible to parse the PDF line by line using the PHP.
    I extracted the whole text but couldn't the images. Since the PDF's images are decoded using various methods like DCTDecode, JPXDecode, etc.
    The text is decoded with FlateDecode, which i breaked using a function in PHP.
    Thanks,

  • Is it possible to change an attribute of image using VB?

    hello everyone!,
    I just want to ask if it's possible to add an attribute to a image using Visual basic. and the image will save as jpeg file together with the add attribute to the properties?
    by the way, I am john. freshman college student from phil. thanks in advanced
    chow..

    Hi acamar,
    Below is the error I've encounter modify the codes under exifwork
    a = WindowsApplication.exifwork.Rational cannot be converted tp 1-dimensional array of windowsApplication.exifwork.rational
    Public
    Function ToRational(ByVal
    value As
    Double)
    As Rational()
    Dim N
    As
    Double = value
    Dim D
    As
    Double = 0
    Dim S
    As
    Double = 1
    If N = N \ 1
    Then
    Return
    New Rational(Convert.ToInt32(N), 1) <--a
    End
    If
    If N < 0
    Then
                N *= -1
                S = -1
    End
    If
    Do
    Until N / 1 = N \ 1
                N *= 10
                D += 1      
    Loop
            D = 10 ^ D
    Dim divisor
    As
    Integer = gcd(N, D)
            N /= divisor
            D /= divisor
            Convert.ToInt32(N)
    Dim R
    As
    New Rational(Convert.ToInt32(N), Convert.ToInt32(D))
    Return R <--a
    End
    Function
    also in the function setpropertyrational3 the method(PutInt32 is not declare).. what is the declaration type of that and where do i put the declaration?
    We're close.. i really appreciated your Help.. :)
    Jonel

  • Non-standard application use of iMovie and Pyro AV Link

    I want to pipe my 12" PC screen into my 2' iMac screen. I must use a hardwire solution and cannot use VNC or remote control over the web. I can get into the details, but no need here.
    So my question: can I use a VGA/DV converter to feed the screen signal from my laptop into the PYRO AV Link, then use iMovie to view the input in real time, without saving to disk? Will the resolution be OK for my needs. Anyone done anything remotely like this? I do not want to buy the hardware if I am not somewhat confiedent it will work.
    TIA

    It's both iMovie and the Pyro. The resolution is dictated by Standard Definition TV resolution.
    There is no way to get HD TV resolution in from that kind of source (a computer monitor).
    There are screen capture applications for both Windows and Mac OS X that captures video (and audio). Try Google.

  • Is it possible to load programs ont stream 7 using an external CD drive?

    Is it possible to loa programs to the Stream 7 from an external CD drive?
    This question was solved.
    View Solution.

    Hey @Johngreaney ,
    Welcome to the HP forums.
    I understand you're looking for information on using an external CD drive on your Stream 7 tablet.
    You should be able to connect the Stream 7 to an external CD drive with a micro-USB to USB adapter. From there you may need to install drivers for the device but DVD/CD-ROM drives are typically pretty generic and should self install.
    Thanks.
    Please click the "Kudos, Thumbs Up" at the bottom of this post if you want to say "Thanks" for helping!
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    The Great Deku Tree
    I work on behalf of HP.

  • What is the standard on using some jsp tags?

    Has it become an industry standard to not use scriplets, expressions and declarative tags in jsp or is it all dependant on the scale of the application and the preference of the developer. I have seen the arguments for not using these tags and while I can see how they can become problematic for large applications with many developers I never had a problem developing a small application just by myself.
    I would like to know how many of you jsp developers still use these tags and how many don't and your reasons why you do or why you don't?
    I wonder if most people actually see these problems for themselves or do they just join the in crowd because it's the new thing
    And if it is a standard why aren't they just phased out of exiistance. Stuff like that makes it hard for people to learn. I can't tell you how many tutorials i've seen teaching scriptlets and expressions

    I started with scripting, etc. but early on switched to CTLs. They can be bundled and distributed very easily.
    I had read many, many times how hard it was to maintain a site that used a lot of scripting, etc. but gave it only a little heed. Like you, I was a one man show, certainly I could remember what I was doing.
    It didn't take long before I could see that they were right. I immediately ceased what I was doing, repackaged nearly all of the logic into tag libraries (8 in all), redesigned the existing applications to use the tag libraries (which was a pain in the beginning, but worth it big time).
    I am now redesigning our company website to include things like order status, event calendars and a lot of neat web-based stuff. I will have this website done in half the time of our old static html website.

  • Loading external fiels (json, images) using oam?

    Hey there,
    i have build an edge animate animation/application and want to embed it with it's "oam" file into a muse website. .. So far this isn't really a problem, BUT i am using external json data and images in my project...
    After exporting to the oam-file and embedding it to muse i'm not able to load these files anymore... I've tried several folders and so on but nothing works out :/
    Any idea how to solve this?
    Best,
    Nico

    function loadJSON() {
                        jsonDATA = [];
                        $.getJSON('source.json', function(data) {
                                  refCount = data.images.length;
                                  // Global Path for Images
                                  imageGlobalPath = data.global_path;
                                  // Loop through each reference
                                  for ( var i=0; i < refCount; i++){
                                   var o = data.images[i];                               
                                    jsonDATA.push(
                                                                "id":i,
                                                                "img_sw":o.img_sw,
                                                                "img_clr":o.img_color,
                                                                "url":o.url,
                                                                "title":o.headtitle,
                                                                "description":o.description,
                                  createBoxes();
    That's the code

  • Is it possible to display the sequence context browser using the TS API ?

    Hi,
    I would like to display a sequence context browser in a custom step developped in CVI to allow operator to choose the local or global who receive a data.
    I tried tu use the Browse Expression Dialog but i didn't find the way to limit this UI as a context browser.
    Thanks for your help

    Hi,
    Using the Engine.DisplayBrowserExprDialogEx(...) method you are also able to declare variable within the dialog.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Loading non-standard Hierarchies from an external Sap System

    Hi experts,
    We are trying to load a hierarchy of a non-standard characteristic from an external Sap System. From what we know till now, we can't create a Generic Datasource to load hierarchies, so the only way is to use a File Datasource (csv file, for example)  to load it.
    Is that true ? Is there any way to load a non-standard hierarchy from a Generic Datasource ?
    Thanks In Advance.

    It's a customized hierarchy with Z tables.
    No way, other than flat file. Maybe I can use an ABAP report to create a flat file with the hierarchy, reading the data of the R/3 system with native-sql, and then, launch the load with this file stored in the BI SAP.
    I mean:
    _________________________________________________Native SQL
    flat file (csv) (BI SAP) <-- ABAP Report  (BI SAP)  <--
       hierarchy tables (R/3 SAP)
    We want an automatic way to load the hierarchy. Is it a good idea ?
    Edited by: John F.R. on Feb 24, 2010 6:03 PM

  • Non standard window ?

    Hi
    Is it possible to have a non standard window ? to be able to shape the top level window to a custom shape.
    Help share your knowlegde
    Solved!
    Go to Solution.

    The sample uses Windows SDK functions - if you do not have this sample then I assume you do not have the SDK version of CVI. In that case the attached files may not be of much use to you.
    JR
    Attachments:
    Shapes.zip ‏6 KB

  • How To: Use FCPX to create iPhone Portrait Movies (and other non-standard formats)

    Goal: Use Final Cut Pro X 10.0.7 to produce a 640x1136 video (iPhone 5 Portrait). You can use these same steps to produce virtually any dimensions you want. My example is for the iPhone 5, in Portrait mode.
    This information is available in various places, but you have to realy work to find it, so I thought I'd post a step-by-step guide here.
    By the way, you might think you could just create a FCPX Project with your desired dimensions, but you can't (at least with 10.0.7). Projects only support certainly dimensions. But there are other ways, as the rest of this post describes:
    1) Create an initial movie with the desired dimensions, to serve as a template. We'll call it "Template.mov". The only thing that matters is the dimensions. It can be in any codec FCPX understands, and virtually any length.
    I'm using a 2 second video shot on my iPhone for the template. You could also create a blank image (.png, whatever) with the proper dimensions, copy and paste it into a new Quick Time Pro 7 window, and Export it using custom settings. There's lots of different ways to do this.
    2) Drop Template.mov into a FCPX event.
    3) Select Template.mov in the Event browser, and select File->Duplicate (or command-D). You probably could just edit "Template.mov", but it's a good idea to save it for reuse.
    3) Change the name of the copied video. I'm using "iPhone Video".
    4) Right-click "iPhone Video" and select "Open in Timeline".
    5) If you made the Template video from a still image, you may need to change the duration (ctrl+D). You don't have to make it very long, but it needs to be longer than 1 frame. A few seconds should be enough.
    6) Use this timeline like you'd use a project's timeline. Drop in new content, trim, transition, etc. There may be things you can't do in it, but I haven't found any yet. I'm guessing Chapters may not work, but I haven't tried them.
    7) Note that when you drop new content into the timeline, it may size funny. That's because the default setting for "Spacial Conform" is "Fit". Simply select the newly-dropped content, and in the Video settings inspector, scroll down to "Spacial Conform" and change it. You could use "Fill", which fills the frame vertically, or "None", which uses the source's original height. Then crop/transform/whatever to get what you want.
    8) When you're ready to render, select "iPhone Video" in the Event browser, then use the "Share" button. You want to use the "Export File" destination, which you may have to add. Pick your codec, and let 'er rip.
    9) When the rendering is done, you should have a video in your desired dimensions.
    That's all there is to it. Hope this helps someone.
    Dan
    PS: Don't ask why someone would want to create an iPod video using FCPX. The point is that you may need to create a video with non-standard  dimensions at some point in time, and this is how to do it.
    PPS: Most of this information came from http://library.creativecow.net/articles/payton_t/FCPX_Custom-Resolution-Timeline s/video-tutorial. I just wrote it down, while I tried to do what the video suggested.

    Instructions for using QuickTime Pro 7 to create a template video with unusual dimensions.
    I suspect that anyone savy enough to be using FCPX has probably already figured out how to do this, either using my technique or another, so there probably isn't a real need for me to post this. For that matter, I may be the only person who cares about this at all. However, while I was trying to learn how to do all of this, I would have really appreciated having all the information in one place, so here goes.
    If you want to create a video with unusual dimensions (like 640x1136) using my steps above, you'll need a "template" video first. Here's an easy way to create one, using any image editor, and QuickTime Pro 7.
    1) Open QuickTime Pro 7 (QTP for short).
    2) From the menu, select File->New Player. You'll get a window with just the bottom portion of the player, i.e. the playback controls.
    3) Using an image editor, create a still image in the desired dimensions. You can use any image editor. It doesn't matter what the image contains (although it will end up showing as a thumbnail in FCPX).
    4) Copy the image to the clipboard.
    5) Switch back to QTP, and paste the image into the new player. Don't worry that there isn't a video window showing - just paste it into the window that has only playback controls. As soon as you do, the video window appears.
    6) Advance to the end of the movie (the short, 1-frame movie), then hold down Command+V (paste) and keep holding it down to paste multiple images in. Watch the time advance. You could, if you want, just hold down Command+V until you get the length you want. But if you want a long video, there's an easier way:
    7) When you reach a few seconds (or whatever duration your patience allows), select all (Command+A) and copy (Command+C). Then hold down Command+V to keep pasting in the longer clips. Wait until you reach a longer duration, then repeat the process. So, for example, 1 second, then 10 seconds, then 1 minute, then 10 minutes, then 1 hour. Or whatever you want.
    8) Save the video however you want. I usually use File->Export with H.264, with Quality set to "Least". Just make sure you don't let it change the dimensions. If you resized the player window, depending on which "save" or "export" method you've chosen, it might default to the resized dimensions, so double check that to make sure.
    That's it. You now have a template video you can use with my previous post(s).
    Dan

  • MDM catalog standard webdypro - java API

    Hallo,
    I am using MDM catalog integration to SAP ECC 6.0.
    I call the MDM catalog using the standard webdypro in ME51n.
    Can the MDM catalog standard web dynpro be modified using MDM java API? and how?
    Thank you in advance for your answers,
    marco
    Edited by: Marco Covino on Jul 7, 2008 11:36 AM

    Sorry about the formatting of the above message - for some reason the forum pulled out all the line breaks and ignored the  tags...

  • Essbase Java Apis- Checking the Load status of Cube

    Hi all,I am using Essbase 7.1 Java Apis.I want to check the Load status of the Cube.I have used the following Api.Cube.getCubeLoadStatus() However there is problem with this Api.If the Cube is not loaded then when I use this Api for the first time, it shows the status as "Not Loaded".However subsequent calls to the same Api shows that the same Cube is "Loaded".Clearly use of this Api results in loading of a Cube which was initilally unloaded.(I belive, in Administrative console right click on Cube -> Stop results in unloading of the Cube)Please answer my following questions :1) Which Api should I use to check the Cube's load status without affecting its current load state.2)I tried using Cube.isActive() Api.However this Api throws an exception for all states of the Cube.3)What is the diffence between a "Loaded" Cube and an "Active" CubeThanks

    1) Which Api should I use to check the Cube's load status without affecting its current load state. <<I don't know the answer to this one.. It seems to me that it may be a bug. You should report this one to Hyperion Tech Support.>>2)I tried using Cube.isActive() Api.However this Api throws an exception for all states of the Cube. <<I haven't tried this one either..>>3)What is the diffence between a "Loaded" Cube and an "Active" Cube <<Finally one I think I can answer.. A loaded cube means, I believe, that the cube has been loaded by the server and is immediately available. An 'active' cube, on the other hand, is the terminology used to specify that a specific connection is connected to, and using, a specific cube. I know several of the VB/C APIs specify that you must set a cube active (on the connection) before you can use the API.Tim TowApplied OLAP, Inc

  • Is it possible to share a Mounted Blank Disk Image using WebDav?

    I am trying to find a good solution to give individuals the ability to change files in there hosted websites on the Mac Mini Server (10.6.4), but also having a limited folder size. I have seen a few post on using Blank Disk Image as the share folder. I have created the folder and I can see it contents using a WebDav client, but no matter what permissions I put, anytime I try to upload or delete a file from the image I get a 403 error, saying "Forbidden". I can get the WebDav to work on normal shared folders, so I am wondering if it is even possible to share a mounted blank image using WebDav?

    It seems if I make an MS-DOS(FAT) image, I can actually make changes to this image file using WebDav, but I cant see how to changer the permissions of the folder. All the methods I have tried do not actually seem to change the file permissions, they default to read and write for everyone.
    I am trying to figure out if I am trying to get something to work that is not even possible. I need to be able to limit the size of a folder, share it with specific groups/users in the Open Directory. It also has to be viewable on both Windows and Mac Systems. FTP does not seem to work, since it gives access to the root. I want to be able to have a student/student group post to a wiki, have a website for there project, but they should only have access to this image....
    Does anyone know if you can share a mounted image through WebDav, or if there is another way I can setup multiple folders and have websites point to this folder and give only selected users access to the folder for uploading and sharing files?
    Any guidance would be greatly appreciated

Maybe you are looking for