Loading images using Microsoft Paint

Is there a way to make a servlet load an image using Microsoft Paint (on Windows) ?
I have a huge image that does not fit in the browser window and the client would like to see it without scrolling. .. and prefers to have this opened in Microsoft Paint. Scaling an image using widht/height is not preferred.
We can set the MIME type to image/gif for example... but, how can we tell the browser to load using a particular image-editing applciation?
Thank you.

Thanks for your response. It might work for bitmap images.
But my images are gifs and jpgegs.... I forgot to mention this in the initial post. Sorry about that.
I was looking for something like "application/mspaint" for the contentType rather than image/bmp

Similar Messages

  • How to load images using xml in flash

    Hi
    im working on a quiz project where i plan to load images using xml in to flash, can any one help with the script with AS2 or 3

    You'll find a tutorial for what you are after here:
    http://www.gotoandlearn.com/play?id=22

  • Loading images using java server page

    I am using NetBeans 4.1 with the latest versions of both the SDK and j2EE sdk.
    OK, all of the JSP and servlets I've done so far have been text only. I am now having trouble loading images.
    I used <img src="images/IMG_0072.jpg" height="50%" width="50%"> to try to load the image, but it isn't working. I have tried various things such as moving the images directory (between having the directory in the same folder as the jsp source files and in the WEB-INF folder)and placing a '/' at the beginning of the path, but to no avail. On viewing the http monitor in Netbeans, I saw no surprises in the request data.
    I have verified that the required images are in the right places, including the war file that Netbeans creates.
    Now I am wondering if the fact that Netbeans puts all the files for the distribution into a war file is complicating my life here.
    It seems to me that my use of the html img tag should not be affected by whether I am using JSP or servlets or plain old html, since in all cases the result sent to the browser is ordinary html (possibly with other, client side stuff that isn't relevant here).
    Can anyone tell me how to solve this particular problem?
    Thanks,
    Ted

    Thanks for the suggestions.
    I tested both, but no joy. I'll have to double check my html.
    I observe that neither test had any impact on the behaviour of the web application. The URI was unaffected, and I still get the 404 not found error. Since I know the image files are there, I don't know why the server isn't finding them, unless I have to do something special because NetBeans 4.1 is putting them into the web applications war file. While I'd expect this to be a faq, as I don't believe I am the first to run into trouble with this, it is an important issue having implications for use of development environments and deploying web applications once development and testing have progressed to the point where deployment is warranted.
    Any other ideas?
    Thanks again,
    Ted

  • How do I load images using nio?

    Beyond using the toolkit to load an image, I don't know how to load an image. I looked at the javax.imageio package briefly, but I'm not sure where to start there.
    I would like to be able to load images with nio Ii.e. memory map the files) and display them on screen.
    Any advice and help would be appreciated.
    Thanx
    Bill

    from java api 1.4
    BufferedImage bi = ImageIO.read(File)
    BufferedImage bi = ImageIO.read(InputStream)
    BufferedImage bi = ImageIO.read(ImageInputStream)
    BufferedImage bi = ImageIO.read(URL)

  • User Interface for bulk loading images using interMedia

    I would like to create an interface where users could bulk load images to a database. Has anyone created a web (or other) interface that would perhaps call a PL/SQL procedure or SQLloader?
    Is there a way for users to upload images from there own computers in bulk? Would they need to utilize SQLPLUS?
    While I have seen the examples and plan to create a web interface for uploading images one at a time, I have been requested to find a way for the users to upload images in bulk themselves (instead of them requesting us technical people to do it).
    Thanks for any suggestions.
    Judy

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Simon Oxbury:
    Hi,
    There's a sample on OTN that discusses loading multimedia data in bulk into the interMedia types using both SQL*Plus (with PL/SQL) and SQL*Loader. Check out the following URL: http://otn.oracle.com/sample_code/products/intermedia/htdocs/avi_bulk_loading.html
    One major difference to consider between SQL*Loader and SQL*Plus (with PL/SQL) is that SQL*Loader can load data from files on the machine running SQL*Loader, which may be a different machine than the database, although it still needs an Oracle installation. Whereas SQL*Plus with PL/SQL can load data only from directories that are accessible to the database server and that have been defined in the server using the CREATE DIRECTORY command, which requires privs. Also note there are restrictions and issues specific to both NT and Unix when it comes to access network directories from the server.
    If SQL*Loader looks like a possibility, you might want to think about a simple Java program, Perl script, or some such, to create the SQL*Loader scripts. On the other hand, if you get into Java, then you could use Java to do the upload and, at the same time, provide some level of application-specific user interaction and/or error reporting, etc. Its easy to get a list of file names in a directory using the File.list or File.listFiles methods in Java. On the other hand, if we talking LOTs of files, then SQL*Loader may turn out to be more efficient.
    In order to better understand the variety of ways in which our customers are using interMedia, we'd be very interested in knowing a little more about your application, the interMedia functionality that you are using, and how you are developing and deploying your application. If you are able to help us, please send a short email message with some information about your application, together with any comments you may have, to the Oracle interMedia Product Manager, Joe Mauro, at [email protected]. Thank you!
    Regards,
    Simon<HR></BLOCKQUOTE>
    null

  • Load image using the loader class problem

    Hi, I'm trying to load an image in a movieclip using using the following:
    Load_image_btn.addEventListener(MouseEvent.CLICK,Load_image);
    function Load_image(event:MouseEvent):void
        var my_loader:Loader = new Loader();
        my_loader.load(new URLRequest("C:\Users\Amanda\Desktop\picture1"));
        addChild(my_loader);
    When I enter just "picture1" for the location it works, but like this it is giving me the following error: Error #2000: No active security context.  How can I go about this, as I want to have a picture which in a separate location from that of the flash file?
    I would also like to have the image located in a particular location (x,y) of the movieclip, is this possible? thanks in advance.

    I am using the following code:
    function AddViewDetails(event:ListEvent):void
    var mc:MovieClip=new Additional_Req_Info();  // where Additional_Req_Info is the class name
    addChild(mc);
    var clickedName:String = event.currentTarget.name;
    trace (clickedName);      /////prints Current_Req_List
    var instanceName:String = clickedName + (Current_Req_List.selectedIndex + 1);
    trace (instanceName);  /////prints Current_Req_List1,  Current_Req_List2, etc depending on list item selected
    if(!getChildByName(instanceName)){
    var classRef:Class=Class(getDefinitionByName(instanceName));
    trace (classRef);   ////not printed
    var mc:MovieClip=new classRef();
    mc.name=instanceName;
    trace (mc.name);   ////not printed
    And its giving me the following error:
    ReferenceError: Error #1065: Variable Current_Req_List1 is not defined.
    at global/flash.utils::getDefinitionByName()
    at Websiteversion4_Scene1_fla::MainTimeline/AddViewDetails()[Websiteversion4_Scene1_fla.Main Timeline::frame1:185]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fl.controls::SelectableList/handleCellRendererDoubleClick()
    How can I define the list items if they are dynamically generated i.e. at runtime? thanks!!!

  • Loading images using TOAD

    Hi,
    can someone help me?
    I'd like to create a simple database that contains images. I've already used the Oracle DB tutorial, but at the moment it's difficult for me to load an image correctly using TOAD.
    Can someone give me a simple code (mine does'nt work!) for fetching gif or jpeg. Can you show me links for find documentation?
    Tanks

    Thank you Felix!
    I tried to use this code to fetch image into database but TOAD always gives me error:
    DECLARE
    l_bfile BFILE;
    l_blob BLOB;
    BEGIN
    INSERT INTO tab1 (col1)
    VALUES (empty_blob())
    RETURN col1 INTO l_blob;
    l_bfile := BFILENAME('IMAGES', 'image.jpeg');
    DBMS_LOB.fileopen(l_bfile, Dbms_Lob.File_Readonly);
    DBMS_LOB.loadfromfile(l_blob, l_bfile, DBMS_LOB.getlength(l_bfile));
    DBMS_LOB.fileclose(l_bfile);
    COMMIT;
    END;
    I don't understand what's wrong, TOAD does'nt execute fileopen() operation at the moment.
    Do you know an easy way to solve this problem? Where can I find some documentation about BLOB using TOAD?
    Thank a lot!

  • I'd like to load images using XML and Java - hints??

    I have a XML files that are created on a timed basis....they describe a photo and point to a dir where the photo is stored...like...
    <image>
    <user>bill</user>
    <img>photo.jpg</img>
    <img_dir>'/tmp/photos'</img_dir>
    </image>
    I'd like to write a Java program that parses the XML and loads the images, data into Oracle.
    Suggestions on Oracle tools, downloads that will help me accomplish this???
    Thanks!

    I pass a URL and then when I parse the XML I download the file from the URL.
    A.

  • Photoshop Images Appear Darker Online and in Microsoft Paint ---- Help Please!

    Hello, I have been losing my mind over this problem: Whenever I save images in Photoshop CS6, they appear darker and with more contrast online. I am using Windows 7 OS and have calibrated the monitor to the best of my abilities
    NOTE: My Proof Setup is set at sRGB and my Color Settings are set at sRGB aswell. I Convert Images to the sRGB profile, and when I Save For Web & Devices, I make sure JPEG, optimized, and convert to sRGB are selected. My Preview is set for Internet Standard (sRGB).
    The images look good in Photoshop and in Windows Photo Viewer, but when I upload them to the internet, they look very dark and hard on the eyes. They look like this when I check them on a Mac. Another weird thing is that when I open the same images in Microsoft Paint, they appear dark aswell, whereas those images looked good in Windows Photo Viewer and Photoshop.
    Help would be much appreciated!

    What version of Aperture are you using on your Tiger system?
    I don't believe gamma settings changed from Tiger to Leopard (gamma 1.8) but they did change going to Snow Leopard (gamma 2.2). Since you're on Tiger, gamma may not be the reason for the difference, but it sounds plausible that you may have some settings using a different gamma in Tiger than on Leopard.

  • Problem loading Image through XML!

    Hi,
      I am Akshay and am beginner in this forum. I am trying to load images using flickr API and having problem.
    I am doing it in following fashion:
    1) I am calling the Httpservice to get the xml through flickr API as
    <s:HTTPService id="photoService" url="http://api.flickr.com/services/feeds/....FullAPI" resultFormat="e4x" result="photoResultHandler(event);" fault="photoFaultHandler(event);"/>
    2) In photoResultHandler I am retrieving the XML
    private function photoResultHandler(re:ResultEvent):void
    photoXml= re.result as XML;
    However, I am struggeling to retireve elements from photoXML and then use it to display image in :
    <mx:Image  id="img0" x="151" y="98" width="520" height="291"/>
    The XML structure is as below:
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <feed">
    <entry>
         <author>  </author>
         <link rel="enclosure" type="image/jpeg" href="http://farm5.static.flickr.com/4484460580_04bbced2d8_o.jpg"/>
    </entry>
    <entry>
    </entry>
    I need to load the href value of link  which can be found in feed-->entry-->link in the above xml.
    Please help!
    -Akshay

    Hello Dave,
       Thanks for your prompt reply. Here's the mxml code :
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" creationComplete="photoService.send()"  minHeight="600">
    <fx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.events.MoveEvent;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    [Bindable]
    public var photoXml:XML;
    private function photoResultHandler(re:ResultEvent):void
    photoXml= re.result as XML;
    //var src :int =  "{photoXml.feed.entry.updated}" as int;
    img0.source= String(photoXml.entry[0].link[1].@href);
    private function photoFaultHandler(fe:FaultEvent):void
    Alert.show(fe.fault.message);
    ]]>
      </fx:Script>
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    <s:HTTPService id="photoService" url="http://api.flickr.com/services/feeds/photos_public.gne?id=48951865@N07" resultFormat="e4x" result="photoResultHandler(event);" fault="photoFaultHandler(event);"/>
    </fx:Declarations>
    <mx:Image  id="img0" x="151" y="98" width="520" height="291"/>
    </s:Application>
    Hope it helps you in finding out the problem...DO let me know your thouhgts
    Thanks again for your replies so far......
    -Akshay

  • Using Firefox to access facebook chat Button or online friiend chat button generates a Black screen with CANNOT LOAD IMAGES and no chat window opens.

    This does not happen in other browsers and it happens on a variety of computers I have access to and would seem to be a common problem but I can find no identical cases in my searches of
    Firefox , Facebook or windows help or Google search. My home machine is only a P2 with WINXPCORP but works fine and I have done all updates but still have this continuing problem every time I try to use Firefox
    to access Facebook chat but it does not happen with IE or chrome
    The response to clicking on chat button or friend chat is a black screen with small center square box with blue title bar that says
    '' VIEW IMAGE FULL SCREEN - (42) FACEBOOK X""
    center of box is ""! "" mark in yellow triangle and wording
    "" CANNOT LOAD IMAGES ''' OK
    clicking on OK returns to facebook page but no chat opens.
    Some times |VERY RARLEY if as the page loades you click on
    chat button with 1/2 second of it appearing chat will open.

    Hi,
    Please also see [https://support.mozilla.org/en-US/kb/Problems%20using%20Facebook%20in%20Firefox this.]

  • When i use IE9, i go to my emails and any pics in the mail open with the mail but with FF i have to download them is there a way to make the pics open in the mail, i set yahoo to load images automatically in the options menu this has had no effect, thanks

    some pictures(jpeg or gif) come as part of email if i use IE9 these images open as part of the mail, but with firefox i have to download them separately and then they don't appear in email. i have been in the options menu and allowed yahoo.com to automatically load images but this has had no effect, thanks

    Sounds like you did this on the fly.
    MM is supposed to open the Marker Panel Dialogue
    M just sets a marker
    Not sure if either are intended for on the fly during playback .
    There is also a Marker Icon on the Source Window Pane  >>

  • How to add a loader to an image gallery loading content using only actionscript

    hi i am loading all thumbs and  images in a container on a single frame using action script..but the  size of the swf becomes 1.2 mb so i want to add a loader to it...the  loader i am trying to add counts the frames but my file has just one  frame so the loader doesnot show up..
    here is the script of my  gallery..and the timeline has just one frame...
    import mx.transitions.Tween;
    import  mx.transitions.easing.*;
    this.createEmptyMovieClip("container",1);
    var  imagesNumber:Number = 18;
    var scrolling:Boolean = true;
    for (i=1;  i<=imagesNumber; i++) {
    container.attachMovie("thumb"+i,"thumb"+i+"_mc",i);
    myThumb_mc  = container["thumb"+i+"_mc"];
    if (i==1)
        myThumb_mc._x =  (0.0)*myThumb_mc._width;
    else
        myThumb_mc._x =  ((1.2*i)-1.2)*myThumb_mc._width;
    myThumb_mc._y =  (Stage.height-myThumb_mc._height)/2;
    myThumb_mc._alpha = 100;
    myThumb_mc.largerImage  = i;
    myThumb_mc.onRollOver = function() {
    this._alpha = 60;
    myThumb_mc.onRollOut  = function() {
    this._alpha = 100;
    myThumb_mc.onRelease =  function() {
    this._alpha=100;
    for (i=1; i<=imagesNumber; i++) {
    var  myClip = container["thumb"+i+"_mc"];
    myClip.enabled = false;
    scrolling  = false;
    _root.attachMovie("image"+this.largerImage,"large_mc",2);
    large_mc._x  = (Stage.width-large_mc._width)/2;
    large_mc._y =  (Stage.height-large_mc._height)/2;
    new Tween(large_mc, "_alpha",  Strong.easeOut, 0, 100, 0.5, true);
    new  Tween(container,"_alpha",Strong.easeOut,100,50,0.5,true);
    large_mc.onRelease  = function() {
    scrolling = true;
    var myFadeOut = new  Tween(large_mc, "_alpha", Strong.easeOut, 100, 0, 0.5, true);
    new  Tween(container,"_alpha",Strong.easeOut,50,100,0.5,true);
    myFadeOut.onMotionFinished  = function() {
    for (i=1; i<=imagesNumber; i++) {
    var myClip =  container["thumb"+i+"_mc"];
    myClip.enabled = true;
    large_mc.removeMovieClip();
    container.onEnterFrame  = function() {
    if (scrolling){
    this._x +=  Math.cos((-_root._xmouse/Stage.width)*Math.PI)*20;
    if (this._x>0) {
    this._x  = 0;
    if (-this._x>(this._width-Stage.width)) {
    this._x =  -(this._width-Stage.width);
    anyone knows how to add a loadre to this...?
    thanks..

    Check these links for tutorials on loading images
    http://www.kirupa.com/developer/flashcs3/loading_image_as3_pg1.htm
    http://tutorials.flashmymind.com/2009/02/loading-multiple-images/

  • Splitting a Flattened Image into Layers so I can use the Paint Bucket to change colors

    I have what I think is a flattened image that is part of a Website template. (I'm assuming the image is flattened, because when I use the paint bucket to change the color, it colors the whole thing; and when I use the magic wand, the whole image is selected). I need to be able to use the paint bucket to change the colors. What do I have to do to make the image work that way? The image is made to look like you're looking left to right at four file folders. The folder labels are a different color. Is there some way to separate the folders (now in green), the folder labels (now in yellow), and the white background from each other, so I can apply the paint bucket to different layers later? I've worked on this for hours now, and can't seem to find the answer. I'll have to change the colors in the image at least 10 different times, so I was hoping I wouldn't have to resort to using the brush or pencil tools.

    Darlene,
    Another way is to use the Replace Color Tool. The Hue/Saturation method is probably easier, but I thought I'd mention Replace Color for your information.
    http://www.pixentral.com/show.php?picture=18IBCKnJchzoxfLEaw7Bu93j9W5jS
    In my example I changed the 3rd label in your picture to red.
    1. Roughly select the label using the Lasso tools.
    2. Enchance>Adjust Color>Replace Color.
    3. Click on the label in the picture; it will appear in the box as white on black background. In general you would move the fuzziness slider until just the portion you wish to change appears white. In this case since the yellow is uniform with sharp border the fuzziness slider had minimal additional effect, but I did move it all the way right to capture the fringe pixels.
    4. Play with the 3 Transform sliders to get the desired result.
    In this next example I changed the top of the lighthouse from red to green (why I would want to do that, I don't know!).
    http://www.pixentral.com/show.php?picture=1XhqCAvgc0zVWReJDkUB2OLDQChSy
    Note that in this case I didn't have to move the fuzziness all the way right.

  • Why do some webpages not finish loading images when using cellular data instead of WiFi?

    I'm using iPhone 6 64gb. The problem existed with iOS 8.0.0 and the iOS 8.0.2 update.
    I have had trouble with webpages loading slowly over AT&T LTE. Sites with multiple images frequently have trouble loading all the images entirely. Instead, the unloaded portion of the image fills in with black or the image fails to load at all. If I switch to WiFi when available and refresh the page, the images will usually reload completely. I never had this problem with the iPhone 5s on the same websites.

    I'm on AT&T with an iPhone 5 first gen. This problem is happening across iPhone4s al of the way to iPhone6+
    Thought it was only affecting newer iPhones with new Graphic Processors but I later ruled that out.
    Seems to only be happening on LTE / 4G. Is not affected on WIFI for me.
    I clear cache, crash browser and even reset the phone but will still get unexpected results in LTE or 4G.
    The images seem to be getting prematurely cached and are only partially rendering.
    When I save the these half loaded images in photoshop I get a warning that they are damaged and/or truncated.
    I have saved images out as PNG and JPGs renders poorly.
    About the images-
    These images are only 15k and there are 16 on the page so I can't see why they would get bottlenecked when loading.
    also, there is no background-color of black anywhere in the CSS.
    Note the TV-Like static on the bottom image similar to the comment  ryzer08 above.
    NEXT IMAGE.....

Maybe you are looking for

  • Showing more than one row at the same time, trigger necessary?

    hi I'm an absolute beginner in oracle forms, so i have a fundamental problem. i have a forms with 3 data-tables/data-blocks with following names and columns: table "connection type": con_id, con_descr table "connection": con_con_id (foreign key to "c

  • Does my W500 have an SDIF interface or not?

    I am trying to do some high-end audio stuff on my Thinkpad W500, which requires having very low-latency audio, and I'm running into all kinds of strange problems.  Upon the recommendation of several audio forums I installed the ASIO4ALL driver, but o

  • How can I make my text in a circle?

    I am designing some new biz cards, and I saw some that were a circle and SUPER cute. I'd like to create my own. How do I create my text in a circle? I'd like to have some info in the middle of the circle, and some actually bending around the circle.

  • In-Memory Ordering

    Hi Background: I've been asked to persuade Kodo to work correctly with some foreign key constraints which have been implemented as triggers (rather than standard foreign keys). Since triggers cannot be deferred, this unfortunately means that statemen

  • Stateless Session EJB "Wait???"

    I need to let a Stateless Session EJB wait until 2:00 AM before it runs. How can I do that? I don't want to use a loop since it will eat up all system computing resource. Thanks Kenny