CreateImage fail if image is 300 * 46800

I want to create an large image for a component in Applet. If 16bit color is used, it works. However, if 24bit color is used, it fails. The error is:
com/ms/awt/peer/INativeImage.create
     at com/ms/awt/image/ImageRepresentation.offscreenInit
     at com/ms/awt/image/Image.<init>
     at com/ms/awt/ImageX.<init>
     at com/ms/awt/WComponentPeer.createImage
     at java/awt/Component.createImage
The problem is how to create image with less no of bits with the actual color is 24bit.
Please advise. Many thanks

This is how I would solve the problem.
// assuming the wisible part of the image is no more than pix 800 high:
img = createImage(300* 800);
gr = img.getGraphics();
// then where you draw the strings onto your image:
scrollY = getScrollPosition().y;// update scrollY everytime scrolling is performed.
gr.drawString(str, x, y - scrollY);
// subtract the scrollposition from the y value.
// then where you paint the image to the component:
g.drawImage(img, 0, scrollY, this);
Hope this works ok for you!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • GetSystemClipboard().setContents fails for images?

    I had already posted this thread to the JAI forum (which i believe is an improper place for it after reviewing all available locations). If somebody can point me to a way of removing it I would be happy to.
    http://forums.sun.com/thread.jspa?threadID=5355247&messageID=10546446
    The clipboard is giving me some trouble... If I copy an image selection with transparency data and then create a BufferedImage from the clipboard contents (paste), then everything works fine everywhere. However if I have a BufferedImage with transparency data that I want to SET to the clipboard (copy) then I observe two different behaviors between Ubuntu and Windows XP -- both incorrect.
    On Ubuntu:
    getTransferDataFlavors of my Transferable is called once. isDataFlavorSupported and getTransferData are never called. The clipboard is unaltered. No exception is thrown -- nothing. It just silently fails to do anything. Calling Toolkit.getDefaultToolkit().getSystemClipboard().getAvailableDataFlavors() shows me that DataFlavor.imageFlavor is indeed present.
    On Windows:
    My getTransferData is indeed called and the clipboard is modified. However, the image is set on a BLACK background -- the transparency data is lost.
    Additional Notes:
    I'm am running Java 1.6
    My paste destination is in GIMP, on a new image with transparent background.
    A self contained code example which reproduces the problem I'm experiencing is as follows. Paste works (slowly) and copy fails
    import java.io.IOException;
    import java.net.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.imageio.*;
    import java.awt.datatransfer.*;
    public class CopyTest extends JPanel{
         public static void main(String args[]) throws Exception{
              final CopyTest copyTest = new CopyTest();
              JFrame f = new JFrame();
              f.addWindowListener(new WindowListener(){
                   public void windowClosed(WindowEvent e){}
                   public void windowClosing(WindowEvent e){ System.exit(0); }
                   public void windowIconified(WindowEvent e){}
                   public void windowDeiconified(WindowEvent e){}
                   public void windowActivated(WindowEvent e){}
                   public void windowDeactivated(WindowEvent e){}
                   public void windowOpened(WindowEvent e){}
              f.setLayout(new BorderLayout());
              JButton btnCopy = new JButton("Copy");
              JButton btnPaste = new JButton("Paste");
              JPanel southPanel = new JPanel();
              southPanel.add(btnCopy);
              southPanel.add(btnPaste);
              f.add(copyTest, BorderLayout.CENTER);
              f.add(southPanel, BorderLayout.SOUTH);
              btnCopy.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent e){ copyTest.copy(); }
              btnPaste.addActionListener(new ActionListener(){
                   public void actionPerformed(ActionEvent e){ copyTest.paste(); }
              f.setSize(320, 240);
              f.setVisible(true);
         private static final int SQUARE_SIZE=6;
         private BufferedImage image;
         // Constructor
         public CopyTest() throws Exception{
              this.image = ImageIO.read(new URL("http://forums.sun.com/im/duke.gif"));
         // Copy
         public void copy(){
              Toolkit.getDefaultToolkit().getSystemClipboard().setContents(
                        new Transferable(){
                             public DataFlavor[] getTransferDataFlavors() { return new DataFlavor[]{DataFlavor.imageFlavor}; }
                             public boolean isDataFlavorSupported(DataFlavor flavor) { return DataFlavor.imageFlavor.equals(DataFlavor.imageFlavor); }
                             public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException {
                               if(!DataFlavor.imageFlavor.equals(flavor)){ throw new UnsupportedFlavorException(flavor); }
                               return image;
                        , null);
         // Paste
         public void paste(){
              // Get the contents
              BufferedImage clipboard = null;
              Transferable t = Toolkit.getDefaultToolkit().getSystemClipboard().getContents(null);
              try {
                if (t != null && t.isDataFlavorSupported(DataFlavor.imageFlavor)) {
                     clipboard = (BufferedImage)t.getTransferData(DataFlavor.imageFlavor);
            } catch (Exception e) { e.printStackTrace(); }
            // Use the contents
            if(clipboard != null){
                   image = clipboard;
                   repaint();
         // Paint
         public void paint(Graphics g){
              // Paint squares in the background to accent transparency
              g.setColor(Color.LIGHT_GRAY);
              g.fillRect(0, 0, getWidth(), getHeight());
              g.setColor(Color.DARK_GRAY);
              for(int x=0; x<(getWidth()/SQUARE_SIZE)+1; x=x+1){
                   for(int y=0; y<(getHeight()/SQUARE_SIZE)+1; y=y+1){
                        if(x%2 == y%2){ g.fillRect(x*SQUARE_SIZE, y*SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE); }
              // Paint the image
              g.drawImage(image, 0, 0, this);
    }1. Run the application
    2. Press the copy button
    3. Attempt to paste somewhere (such as GIMP)
    ideas?

    I have this problem as well, and I have been banging my head against it for quite some time. But as far as I can tell, Java does not support transparent images on the clipboard (please, somebody, prove me wrong!). My main requirement is that users need to paste images to Microsoft Office, so I use the following work around:
    import java.awt.*;
    import java.awt.datatransfer.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import java.util.Arrays;
    import javax.imageio.ImageIO;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    public class CopyExample
            extends JFrame
            implements ActionListener {
        public static void main(String[] args) {
            new CopyExample();
        public CopyExample() {
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            setSize(200, 200);
            JButton button = new JButton("Copy");
            button.addActionListener(this);
            add(button);
            setVisible(true);
        public void actionPerformed(ActionEvent e) {
            try {
                Transferable transf =
                        new ImageTransferable(createImage());
                Toolkit.getDefaultToolkit()
                        .getSystemClipboard()
                        .setContents(transf, null);           
            } catch(IOException ex) {
                ex.printStackTrace();
        private BufferedImage createImage() {
            final BufferedImage image = new BufferedImage(
                    200, 200, BufferedImage.TYPE_INT_ARGB);
            Graphics2D g2 = image.createGraphics();
            g2.setComposite(AlphaComposite.Clear);
            g2.fillRect(0, 0, 200, 200);
            g2.setComposite(AlphaComposite.SrcOver);
            g2.setColor(Color.GREEN);
            g2.fillRect(50, 50, 100, 100);
            g2.dispose();
            return image;
    class ImageTransferable implements Transferable {
        private File imageFile;
        public ImageTransferable(BufferedImage image) throws IOException {
            imageFile = File.createTempFile("copy", ".png");
            imageFile.deleteOnExit();
            ImageIO.write(image, "png", imageFile);
        public DataFlavor[] getTransferDataFlavors() {
            return new DataFlavor[] {
                DataFlavor.javaFileListFlavor
        public boolean isDataFlavorSupported(DataFlavor flavor) {
            return flavor.match(DataFlavor.javaFileListFlavor);
        public Object getTransferData(DataFlavor flavor)
                throws UnsupportedFlavorException, IOException {               
            return Arrays.asList(imageFile);
    }I take the image and write it to a temporary png file and then put it on the clipboard as a DataFlavor.javaFileListFlavor. But this does not work in Photoshop or MS Paint.

  • Error message: CONNECTION FAILURE. DOWNLOADING FAILED. IMAGE CANNOT BE LOADED. PLEASE TRY AGA

    I recently purchased Photoshop Touch for use on my Samsung Galaxy Note 10.1. I have uploaded files to Creative Cloud from CS5 version of Photoshop. I can view the file thumbnails on my tablet, but when I go to open them, I get the following error every time:
    CONNECTION FAILURE. DOWNLOADING FAILED. IMAGE CANNOT BE LOADED. PLEASE TRY AGAIN.
    Any ideas on what I can do to resolve this issue would be greatly appreciated. I am ready to pull my hair out!! Thanks

    What kind of file type are you trying to open? - Guido

  • Hdiutil: verify failed - corrupt image

    problem: sparseimage is not mountable and verify ends with a "hdiutil: verify failed - corrupt image".
    cause: tiger crashed and the image was mounted. the only way to boot was power down the machine. after the reboot the image was not mountable anymore.
    thats the verbose output:
    hdiutil verify -verbose conti.sparseimage
    hdiutil: verify: processing "conti.sparseimage"
    DIBackingStoreInstantiatorProbe: interface 0, score 100, CBSDBackingStore
    DIBackingStoreInstantiatorProbe: interface 1, score -1000, CRAMBackingStore
    DIBackingStoreInstantiatorProbe: interface 2, score 100, CCarbonBackingStore
    DIBackingStoreInstantiatorProbe: interface 3, score -1000, CDevBackingStore
    DIBackingStoreInstantiatorProbe: interface 4, score -1000, CCURLBackingStore
    DIBackingStoreInstantiatorProbe: interface 5, score -1000, CVectoredBackingStore
    DIBackingStoreInstantiatorProbe: selecting CBSDBackingStore
    DIFileEncodingInstantiatorProbe: interface 0, score -1000, CMacBinaryEncoding
    DIFileEncodingInstantiatorProbe: interface 1, score -1000, CAppleSingleEncoding
    DIFileEncodingInstantiatorProbe: interface 2, score -1000, CEncryptedEncoding
    DIFileEncodingInstantiatorProbe: nothing to select.
    DIFileEncodingInstantiatorProbe: interface 0, score -1000, CUDIFEncoding
    DIFileEncodingInstantiatorProbe: nothing to select.
    DIFileEncodingInstantiatorProbe: interface 0, score -1000, CSegmentedNDIFEncoding
    DIFileEncodingInstantiatorProbe: interface 1, score -1000, CSegmentedUDIFEncoding
    DIFileEncodingInstantiatorProbe: interface 2, score -1000, CSegmentedUDIFRawEncoding
    DIFileEncodingInstantiatorProbe: nothing to select.
    DIDiskImageInstantiatorProbe: interface 0, score 0, CDARTDiskImage
    DIDiskImageInstantiatorProbe: interface 1, score 0, CDiskCopy42DiskImage
    DIDiskImageInstantiatorProbe: interface 2, score -1000, CNDIFDiskImage
    DIDiskImageInstantiatorProbe: interface 3, score -1000, CUDIFDiskImage
    DIDiskImageInstantiatorProbe: interface 5, score -100, CRawDiskImage
    DIDiskImageInstantiatorProbe: interface 6, score -100, CShadowedDiskImage
    DIDiskImageInstantiatorProbe: interface 7, score 1000, CSparseDiskImage
    DIDiskImageInstantiatorProbe: interface 8, score -1000, CCFPlugInDiskImage
    DIDiskImageInstantiatorProbe: interface 9, score -100, CWrappedDiskImage
    DIDiskImageInstantiatorProbe: selecting CSparseDiskImage
    DIDiskImageNewWithBackingStore: CSparseDiskImage
    DIDiskImageNewWithBackingStore: instantiator returned 103
    hdiutil: verify: unable to recognize "conti.sparseimage" as a disk image. (corrupt image)
    hdiutil: verify: result: 103
    hdiutil: verify failed - corrupt image
    the problem is not that i dont have a backup of tha date within this 7GIG imagefile. the problem is now that i dont trust this format anymore. i do have a couple of AES-secured sparesimages FOR backup-reason (including one on my iPod) and if something happens to them i might be in serious trouble.
    so now my question: is it possible to rescue this AES-secured spareseimage or is this kind of methos unsafe for important data?
    thanks
    klaus

    Regular tools like Disk Utility and DiskWarrior
    didn't solve anything. I was wondering if it is
    possible to rescue some files by manually decrypting
    the image with some low-level tool.
    Did you have any succes? Given all reports on the
    web, it seems a bit hopeless, but I like to give it a
    chance.
    no success at all, sorry.
    i dumped the images now and also went back to some backups.
    but i definitly don't use filevault anymore
    cu

  • Error -11003:Menu-Fail loading Image file

    HI:
    addMenus XML File:
    <Application>
      <Menus>
        <action type="add">
          <Menu Checked="0" Enabled="1" FatherUID="43520" Image="title.bmp" Position="14" String="Menus" Type="2" UniqueID="Menus">
            <Menus>
              <action type="add">
                <Menu Checked="0" Enabled="1" FatherUID="Menus" Image="" Position="0" String="Menu_1" Type="1" UniqueID="Menu_1" />
              </action>
            </Menus>
          </Menu>
        </action>
      </Menus>
    </Application>
    when add the Image property , but continue error  Error -11003:Menu-Fail loading Image file.
    <h2>How to add images by using XML inside a B1DE project ?  </h2>
    Hope it helps
    Jimmy.l

    Hi
    在你的xml文件中,image 属性设置错误,应该填写你所加的image的绝对路径
    比如:
    <Application>
    <Menus>
    <action type="add">
    <Menu Checked="0" Enabled="0" FatherUID="43520" String="MyMenu1" Type="2" UniqueID="MyMenu1" Image="C:/MyPic.bmp">
    <Menus>
    <action type="add">
    <Menu Checked="1" Enabled="0" FatherUID="MyMenu1" String="MySub1" Type="1" UniqueID="MySub1" />
    </action>
    </Menus>
    </Menu>
    <Menu Checked="0" Enabled="1" FatherUID="43520" String="MyMenu2" Type="2" UniqueID="MyMenu2" >
    <Menus>
    <action type="add">
    <Menu Checked="0" Enabled="0" Position="0" FatherUID="MyMenu2" String="MySub21" Type="1" UniqueID="MySub21" />
    </action>
    </Menus>
    </Menu>
    </action>
    </Menus>
    </Application>

  • Disk Utility Broken (fails to image or verify properly)

    Hey, my disk Utility seems to be broken.
    When I try to clone a drive it goes along fine, then ultimately creates something that doesn't pass it's own verification afterwards, and fails when I try to open the image.
    I repair both the cloned (main/internal) drive, and the destination drive. I use Disk Warrior on it so it's nice and clean, but still it fails.
    So I created an image with SuperDuper by making a copy on a free reformated drive then bouncing it back onto the original drive as a clone/image. That works, and disk utility sees it as good, but aparently a little too good, cause it says it over and over and craps out.
    Here's the error I get:
    Disk Utility internal error
    Disk Utility has lost its connection with the Disk Management Tool and cannot continue. Please quit and relaunch Disk Utility.
    (Quit)
    Then in the background the DU program says:
    Volume passed verification
    1 HFS volume checked
    Volume passed verification
    1 HFS volume checked
    Volume passed verification
    1 HFS volume checked
    and repeats this on into infinity.
    Then when I check (Quit) it says it's still in progress and quitting could leave the disk non operations depending on the task.
    Since this is a read only task (verify) I'm not worried about that, but it doesn't mean that the DU isn't screwed.
    I've tried using DU off the istall disk and that doesn't seem to work either. So did they just ship me a bad system install disk? Should I be looking for another copy of DU?

    Your issue lost connection with the Disk Management Tool is normally a Panther problem, but some Tiger users have experianced it also. Follow the advice in this link.
    If you follow the tips in there it should straighten out Disk Utility.
    Cheers!
    DALE

  • Change image from 300 to 72 dpi with Photoshop elements 13?

    Want to buy an image for a Kindle cover which is only available in the size required by Kindle as a 300 dpi image.Can I change It to 72 dpi with my Photoshop elements 13?

    So, on a copy I made of the image I want,I did go to "file", Then "save for Web", and made the long size 800 pixels, and saved that as JPEG..
    But in that particular window, I didn't see "Constrain proportions" anywhere.
    Yesterday,with that image, I did go "image" and then "resize", and did have checked  "constrain proportions". That is, I'm presently working with a resized  image, that includes a few text inserts and one simple custom shape..
    But do I have to start with a fresh, Unedited image?
    You continue to be marvelous help. I'm so grateful.

  • VM creation fails copying image from USB NTFS disk

    As I have limited disk space available on the server I copied the VM Template to an 500 GB NTFS USB drive and mounted it on /OVS/seed_pool
    When creating the virtual machine it throws the following error:
    Check Agent Version
    Check Address and NetworkType
    Register virtual machine img
    Register virtual machine geninfo
    Register networks
    Register virtual disks
    CopyFromTemplateAsync:Call agent
    CopyFromTemplateCallBack
    CallBack:end-success:end:failed:<Exception: ['dd', 'if=/var/ovs/mount/EC31AC07D7274BF3BF9D093861391DF4/seed_pool/OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM/ebs1211db.img', 'iflag=direct', 'of=/var/ovs/mount/EC31AC07D7274BF3BF9D093861391DF4/running_pool/40_EBS_DEMO_DB/ebs1211db.img', 'bs=1M'] => dd: opening `/var/ovs/mount/EC31AC07D7274BF3BF9D093861391DF4/seed_pool/OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM/ebs1211db.img': Invalid argument
    >
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSXUtility.py", line 355, in utl_cp_vm
    cmd = ["dd", "if=%s" % src, "iflag=direct", "of=%s" % dst, "bs=1M"]
    File "/opt/ovs-agent-2.3/OVSCommons.py", line 85, in run_cmd
    raise Exception('%s => %s' % (cmdlist, p.childerr.read()))
    Problem is: 'dd iflag=direct' isn't supported by fs type ntfs-3g which is the one used for mounting the USB drive.
    I modified OVSXUtility.py and compiled it into OVSXUtility.pyc ... still VM Manager keeps running the original. (I am not python versed)
    Is there any workaround?

    Or if you don't want to repartition your USB drive, just use dd to create a large file big enough to hold your image and format that as ext3 and mount it, move your image into it and have fun.

  • How do I ensure my book's images are 300 dpi?

    Hey everyone,
    I need to submit a book I wrote using Pages to the printer in 300 dpi.  I used photoshop to adjust the resolution of the photos to ensure that they are 300 dpi. Unfortunetly when I submit the PDF at "best" quality I still get an error saying that some of my photos are low resolution.  I am trying to figure out what is going wrong.
    I did notice that the photos in question seem to all have a picture frame.  Could that have something to do with it?  Or is there something else I am missing?
    Thanks in advance,
    Kevin

    The actual picture frame will be rendered at 72dpi by the ColorSync filters when generating the pdf.
    Steer clear of shadows, reflections, transparency of bitmaps and transparency of vector objects overlapping bitmaps, the fancy frames and 3D charts. They are all rendered at 72dpi by default in OSX.
    Pages is not a professional DTP tool. Even though it might look like one with some of the features, Apple has failed to implement nearly every technical requisite to make high quality output possible. The defaults for output are set abismally low and there are no tools to permit consistent, reliable output.
    Apple's huge profits come almost entirely from people who can barely manage the basics of day to day computing. That they have not entirely abandoned professional users has more to do with sentiment and a legacy of support than any current corporate business plan.
    Don't expect Apple to do anything to rectify the problems. This has nothing to do with iPhones and iPads which are Apple's present and future.
    Peter

  • CopyProfile fails when image deployed

    Hi,
    I am using Windows Server 2012 R2 Datacentre with WDS to capture, service and deploy Windows 8.1 Enterprise.
    I've created an unattend answerfile to be used on the various passes during deployment which works fine until I service the image offline.
    Basically I am mounting the image and installing driver packs using DISM, I do this with multiple images independently but each one fails with the CopyProfile stage at the specialise pass.
    If I deploy before servicing, CopyProfile works.
    I run CMD prompt with elevated priveleges and use the DISM command within that DOS session. I am Domain admin. Server is fully patched up.
    Any ideas on what could be causing this please?
    Nige 

    Hi,
    This issue is mostly caused by the user profile corruption.
    Please delete all the user account profiles except the Administrator built-in account using the User Accounts control panel and make the customizations using the local Administrator built-in user account.
    Them retry your process.
    Alex Zhao
    TechNet Community Support

  • Processing images as 300 dpi jpegs, comes out at 72 dpi.

    I've seen two other posts with the same problem with no answer, so I thought I try as well. I am using Ap 2.1. I've processed the images in both the preset jpeg original size with the edit to 300 dpi. I've also made a custom preset with 300 dpi jpegs. Both times the images open in PS at 72 dpi. I processed them as tiffs at 300 dpi and they open in PS at 300 dpi just fine.
    I've tripled checked the file-export-versions-JPEG original size-edit-300dpi.
    any ideas what's up?

    J,
    I am repeating a post I made in another topic about this issue -- I would appreciate your thoughts:
    I conducted a test that may or may not tell us something, but: I had a project with an imported photo scanned at 600 dpi and saved as a .psd at the time of the scan, before importing into Aperture. If I export that photo as a .psd, then PS will open it with a dpi of 72, but GC will open it with a dpi of 600. However, if I export that photo as a .tif, then both PS and GC open and report it to be 72 dpi?
    I am not sure, but I think this is an indictment of Aperture?
    Please tell me about the possible impact at any printers you use, since if the print size is specified, and not pixels have been lost, the image will print as you intend? I have some reports this has been seen with iPhoto, but ultimately not an issue, but I have not research with any printers.
    Ernie

  • Help please: Action for arbitrary image rotation: 300 different files, each at a different angle

    Hi everyone,
    I have some 300 images, all handheld shots done in an on-location studio set. They all need varying amounts of image rotation since they're handheld. There's a beaded curtain in the background, so manually I use the ruler tool, draw a line along a strand of beads, and then image/rotate/arbitrary.
    I need to create an action that will (1) do the arbitrary rotation and then (2) save and close the file.
    However, when I record this, the value of the rotation of the sample file I'm working is what gets recorded (not surprising). In other words, if image A needs 0.28 degrees of rotation, that's not what I want for image B which might need -0.15 degrees instead.  The action recorded 0.28.
    Is there a way to create an action that will simply rotate according to the ruler once I've drawn it?
    Thanks!
    Jerry

    True - and I am a keyboard shortcut dude.  But got it working (I was impressed that using the mouse to unclick the last step in the history worked...), and things are doing what I needed.
    And I'm hoping that my suggestion of the last-step undo will make CS5 on par with CS6 in this one small aspect, and perhaps help someone else...
    Many thanks to you!!! 
    BTW - all in the FWIW - you can see what our work as photographers looks like here:
    http://www.jerryandloisphotography.com.
    If you are at all into music/rock 'n roll, you'll probably have fun on our music/stage gallery.  Groups like YES, Heart, Thomas Dolby, etc. use a bit of our work - just a bit of fun...
    Again - thanks and best wishes,
    Jerry

  • Rename Fails When Imaging - SCPreferencesCommitChanges() failed

    Hello!
    I had an image put together for Yosemite 10.10.2 that has been working great since the beginning of February. I attempted to image a few computers over the last few days, and all systems get the same error message at the same place. Part of the post image process is to pop-up the rename workstation app so that we can enter the computer name. The box pops-up; however, the rename fails with the following error:
    SCPreferencesCommitChanges() failed: Write attempted on stale version of object (1)
    Does anyone know what would cause an error like this?
    Thanks so much!
    Vernon

    It recognises Ethernet card as Ethernet Connection I218-LM
    Can’t ping anything
    It might be a driver for a wrong version of Windows PE (it's the x86 boot image you need to test).
    Make sure you have the correct version of the NIC driver in your boot image .
    Here is a old (but still valid) guide for SCCM 2007, on how to test if you have the correct driver.
    http://www.ronnipedersen.com/2009/04/importing-network-drivers-into-the-windows-pe-boot-image/
    Ronni Pedersen | Microsoft MVP - ConfigMgr | Blogs:
    www.ronnipedersen.com/ and www.SCUG.dk/ | Twitter
    @ronnipedersen

  • Underwater failed, no image, just sound

    Hi guys so i bought a xperia z3 on wednesday and today i test it on a pooli was filming.when i put the phone underwater i saw some bubbles come outi take the phone out and suddnly it shut down by itself and was always trying to start but no image was been showed since  i tryt to turn it off , he was to hot and finnaly when it shuted down i put charging because when i tryed to turn it onvibrate 3 times and a red led was flashinghe is full charge now and now image appears, if i press volume keys i listen the sound control, but stiil no image.the camera have some water on itany advices or solutions? im desesperedhave a nice day(im portuguese, sorry for the english im a little bit nervous)tks

    I have a new.So, when i went to the store where i bought the phone, they sayed that the phone looses his warranty when the humidity sensor on the phone, that locates besides the sim card, becames yellow.My sister is studing laws here in Portugal and she tolded me that here in Portugal we have 2 weeks to reclaim the phone and the store is obligated to give me a new one, and then is with sony and the store.Monday im coming to the store and see if this is really true...I've been searching and i saw this: http://sony-xperia.mobi/eng/sony-xperia-z3-compact/283-how-to-reset-sony-xperia-z3-compact-restart-button-on-sony-xperia-z3-compact.htmlSee ya guys 

  • AffineTransformOp fails on images of particular dimensions

    The following code works fine for an image that is 1296X1296 but if I change it to 36X46656 it gets the error:
    Exception in thread "main" java.awt.image.ImagingOpException: Unable to transform src image
    at java.awt.image.AffineTransformOp.filter(Unknown Source)
    Notice the images actually have the same number of pixels! So it's not the size that's doing it.
    Here's the code:
    import java.awt.geom.AffineTransform;
    import java.awt.image.AffineTransformOp;
    import java.awt.image.BufferedImage;
    import ndvis.img.FlipMode;
    import ndvis.img.ImagePanel;
    @author John T. Langton
    public class Test {
    public static void main(String[] args) {
    BufferedImage img = new BufferedImage(36, 46656,
    BufferedImage.TYPE_INT_RGB);
    AffineTransform flipAtx = ImagePanel.createFlipTransform(
    FlipMode.TOP_BOTTOM, img.getWidth(), img.getHeight());
    int interpolationType = AffineTransformOp.TYPE_NEAREST_NEIGHBOR;
    AffineTransformOp flipAtop = new AffineTransformOp(flipAtx,
    interpolationType);
    BufferedImage img2 = null;
    img2 = flipAtop.filter(img, img2);
    Is this a known bug? Am I missing something here?

    Crosspost. Discussion continued in the other thread.

Maybe you are looking for

  • Not able to view layout in Enhance planning layout UPX_MNTN

    I have created a new layout in BPS0 . In the planning level, i have included User exit variable. I selected the planning area in UPX_MNTN. However in Enhance planning layout, i could not see the layout, i had created in BPS0. Do i need to do any othe

  • 10.10.2 wifi bluetooth conflict

    Hello My MBPR 2014 mid 13" updated 10.10.2, but my wifi problem as before. Each time when turn on Bluetooth, wifi speed become very slow. then if i turn off bluetooth, the wifi speed back to normal. how can fix it ??? Thanks !!!

  • I want to use my apple voucher. but keeps going to my banks detail to purchase

    I want to use my apple voucher. But keeps going to my bank details. To make a purchase?

  • E-mail in Vendor Master

    Hi, I have added multiple E-mail Ids and saved. For each emaild, a ID number will be assgined automatically in increamental fashion. For example 001, 002 ...009. If I add another email id for same vendor it will generate new ID as 010. Path : XK03/02

  • Downloading Material Master data from ECC to CRM

    Hello friends, I am working in CRM 5.0., I am finding difficulty in downloading Material master created in ECC to a Product Master in CRM. Can you please tell me how to use Customizations to download the material master to product master.