High resolution graphics

hi all.
i'm trying to get one jtextpane graphics and convert it to a bufferedimage.
some portion of my code is :
BufferedImage image = new BufferedImage(region.width, region.height,
BufferedImage.TYPE_INT_RGB);
          Graphics2D g2d = image.createGraphics();
          g2d.setClip(region);
          paint(g2d);//this class extends jtextpane
          g2d.dispose();
          setOpaque(opaqueValue);     
          double scx = 0.3;
          double scy = 0.3;
//resizing
          AffineTransform tx = new AffineTransform();
          tx.scale(scx, scy);
          BufferedImage img2 = new BufferedImage((int) (scx * region.width),
                    (int) (scy * region.height), BufferedImage.TYPE_INT_RGB);
          AffineTransformOp op = new AffineTransformOp(tx,
                    AffineTransformOp.TYPE_NEAREST_NEIGHBOR);
          op.filter(image, img2);
ImageIO.write(img2, "BMP", new File("c:\\test.BMP"));
my original jtextpane size is 257*257 and i wnad to save it at size about 80*80
but when i resize the bufferedimage it's quality is too low (96 dpi)
how can i increase image resolution to about 300 dpi and then resize it?
is any help?

Hi Thristen, I assume you are using Output Designer 5.6.
I have no problem bringing in a bitmap > 256 colours.
Perhaps you can send me the image that is giving you problems.
[email protected]
cheers
chris

Similar Messages

  • How do I create high resolution graphics?

    Hello
    I'm working on a graphic image, but I'm using a bit of photography in it. My problem is that the .jpg I get from the Save as, is not large enough. If I had to start all over, should I create a larger document or is it alright to enlarge the image size and the graphical element itself?
    Thanks!
    Best wishes
    Arun

    you start with the canvas size of the image you need. You create the size, A3 or 6' x 4' etc  then you add your artwork to that.

  • High resolution graphics cannot be opened

    Help please...I have a template where I have successfully loaded a graphic file (BMP - 256 colours). However, I am not able to load the any graphic file where there are more than 256 colours. I am not able to convert the graphic file through the tools I am using.

    Hi Thristen, I assume you are using Output Designer 5.6.
    I have no problem bringing in a bitmap > 256 colours.
    Perhaps you can send me the image that is giving you problems.
    [email protected]
    cheers
    chris

  • Does stand alone engine support higher resolution graphics

    When using LabView 6.0 and building a stand alone application, the graphics doesn't compaire to the graphics on the developement platform.

    It's difficult to tell from here what graphics you are referring to, but if you use the Dialog Controls, then the Operating System you run your application on with automatically place its default controls on the Front Panel. For instance, if you run it on XP, you will get the native XP controls. If you run it on Mac OS X, you see native OS X controls. This may help you out on that. You could give this a try and see how it works.
    J.R. Allen

  • Convert PDF into a High Res Graphic for Printing

    Hi there,
    I have to convert a pdf into a high resolution graphic meant to be printed on a bulletin board about 300dpi. What is the best way to do this? Here is the link to the pdf to what i am referring to, just in case you want to get an idea of what i am working with:
    http://desmondhotelsalbany.com/pdf/FloorPlan.pdf
    Would it be best to use Illustrator for vector quality, and use the pen tool to trace over into a new layer and save in 300dpi? Can I use a wand tool so that everything gets traced in a snap?
    Now, I am a Photoshop boy and was wondering if this can be done using the pen and saving in a resolution of 300? The graphic isn't too intricate, basically black lines and text. So maybe Photoshop could work, even though not ideal. What do you think?
    I really appreciate help, I am a web graphic designer and print is out of my element. Thanks!!

    Apparently parts of the the file are already vector-based, so those only should require minor adjustments. The most obvious failure here is, that the contours are broken up in separate segments and thus have "dents and gaps". This will look rather ugly, but should be possible to fix with a little patience by joining the ends. Other parts will most definitely have to be re-traced. The file seems to be based on TIFF files from a CAD program and only bits and pieces have been covered up and adjusted with vector elements as the project evolved. If you can be 100% sure, that the billboard will be inkjet-printed, it would be safe to attempt cleaning it up in PS, if not, and foil labeling is used, then you will not be able to avoid vectorizing it.
    Mylenium

  • How to copy objects from Pages (5.5.1) and paste it into Photoshop as a vector smart object with high resolution?

    I recently have bought a new Macbook Pro (Version 10.10.1) with the OS X Yosemite. The computer comes with the new Pages (version 5.5.1).
    Here is the problem: I like to create artwork using the shapes on Pages. Previously, on my old mac, I used Pages 4.3 to create objects, which I would copy then paste to Photoshop and it would become a vector smart object. However, in the new Pages (version 5.5.1), when I copy objects, they would appear on Photoshop as instead, a layer and it would not be in full resolution.
    Also, I know there is nothing wrong with the Pages file itself because I have converted the document to PDF form and it is high resolution when inserted into Photoshop that way.
    Does anyone know how I can copy individual objects from Pages (5.5.1) and paste it into Photoshop as a vector smart object with high resolution as I have done before?
    Thanks!

    ghotiz wrote:
    copy the image and have it in a high-quality PNG format that does not include the background from the Pages document.
    Oh, well if you don't actually need vector objects then it looks like this is possible. As I said earlier, Pages is putting a PNG on the clipboard. I tested it and it does paste into Photoshop as a transparent layer, because I can see the transparent background of the pasted PNG graphic if I either turn off all layers behind it in Photoshop, or if I start a new Photoshop document to paste into but make sure I choose Transparent for the Background Contents in the New Document dialog.

  • Satellite P200D: How to get higher resolution with HDMI on external monitor

    Hi,
    i have problem with my notebook P200D. I want to use my book with extern LCD in resolution 1680x1050.
    In analog connection i have reached this resolution, but the quality of the output is bad.
    I see some waves on the screen of LCD. And colors are little bit different.
    Notebook has hdmi output too, so I have bought hdmi/dvi cabel, which is working, but i have reached only the resolution of 1200x1020.
    Cabel is signgle link, it exists dual link cabel, but i am not sure if this sloves my problem. I have read that the hdmi output in the Toshiba notebooks is only single link.
    So i cant reached higher resolution than 1200x1020... Is it true?

    Vlada I do not know what you mean with bad picture but if you can use the right resolution the picture must be simply brilliant. I am afraid you can not set the right resolution (1680 x 1050) and because of that you are not happy with analog connection.
    About HDMI usage I can just say that I have tried to connect Qosmio G30 to my HD Ready LCD TV. I have just switched to the TV using FN+F5 key combination, checked graphic card settings and set it to the center. The picture was perfect and I didnt change resolution.
    It is very interesting theme and I hope someone else will post own experiences.
    Bye and good luck!

  • I have an imac 27 inch O SX 10.6.8. using iphoto 11 Version 9.1.5. I have scanned some photos at very high resolution with each photo being about 45MB. They're saved to desktop. How can I reduce the size of the scanned photo's they are crashing iphoto

    I have an imac 27 inch O SX 10.6.8. using iphoto 11 Version 9.1.5. I have scanned some photos at very high resolution with each photo being about 45MB. They're saved to desktop. How can I reduce the size of the scanned photo's they are crashing iphoto.

    What format are they? Tiif? Jpeg? You can compress them with a lot of apps - including Preivew and just about any graphics editor out there. I'm not sure that 45mb would crash iPhoto thogh, are yo sure that's the cause? I know that some folks have mentioned pixel dimensions causing issues, as can color profiles.
    Regards
    TD

  • Help- How do I Make a High Resolution Gif in Flash?

    So I've been surfing the net trying to find a way to get a 100% resolution from Flash to Gif and can't find it.
    Here is the deal, I've got CS5 Premium Suit and I started doing animation in photoshop. It took forever but once I got it done it looked awesome and I could easily transfer it into a gif via 'save for web and devices".
    Because it was taking forever I decided to learn flash and after a day I got the basics pretty much figured out and made my first .swf file. I then went to turn it into a Gif and the resolution sucked and the timing was off. I found out that you can clean it up a bit through Publish settings which helped a lot but still any gradients are off.
    Is there a way to get a high resolution gif out of Flash to look as good as my photoshop animation gif?
    Thanks in advance.
    Done in Flash (Click to see)              Done in Photoshop (Click to see)
    Micah

    Hello? I posted this in the annimated tips sup-forum but I was told to ask it here. What is the deal with this. Is there even a way I can manualy adjust the compression of these files besides "losy" or "losless" because it sure it losing stuff in losless?
    Is photoshop really the program I have to do my animation in if I want to maintain clearity in my graphics?
    What the crap! Why would Adobe do this, Why is it compressing my files in such a way that is distorting the gradients and colors?
    Anyone?

  • Are There Any Advantages To High Resolution Displays?

    I am looking to buy a new 17 inch MacBook Pro at the end of this month and seeking practical advice on configuration options I should choose.
    I am curious about what other people think of the advantages and disadvantages of the high resolution displays. Perhaps it is just a personal preference on the part of different users but non-graphics users I have talked to who have used the high res screens say they don't like them and why but I have yet to talk to any artists who have used them and whether artists find real advantages. My feeling is that it would be good to be able to fit a larger (more pixels) image on the screen or is it better to just leave high res screens to those who work with high definition video/animation?
    My usage of the computer is largely in Photoshop and other graphics programs like Painter, and web design.

    Just to be clear, though, reducing the resolution of an LCD can have a negative effect on image quality. LCDs have an optimal "native" resolution and setting the resolution below that native level results in a poorer quality image.
    Leopard claims "resolution independence" - I have not tried it yet, but if you read the description of this feature, you will note that it applies to the user interface elements. Granted, that's often what you notice the most (i.e. the problem with reducing the resolution below native for an LCD is that the text in Finder, all of the menu bar items, etc., looks "fuzzy"). By appropriately scaling the UI elements, Leopard overcomes the limitation. But the "fuzzyness" will still apply to non-UI things that are displayed - i.e. images. Since based on your posts you will be working with images primarily, high-res vs. standard is still a choice I'd recommend considering carefully, and ideally by trying them both side-by-side.
    Ps. Thanks for awarding points!

  • Connecting external monitor to G4 at higher resolution than 1024x768

    Is this possible? I believe someone told me that there is a way since the graphics card can support higher resolution, just not at the LCD.
    I am doing web design and that resolution is becoming cumbersome to work with and my external monitor can go up to 1600x1200.
    Thanks.

    Yes it is possible, but "at your own risk". Look for "Screen spanning doctor".
    If you test it, please report here the maximum resolution you can use in clamshell mode. I am going to buy a monitor and I wasn't able to find such value.
    I know I can use 1600x1200, I already did it, but I tried the external monitor as secondary monitor. Could you please test the clamshell mode? can it go over 1600x1200 when the main display is off?

  • Satellite L650: Is it possible to get higher resolution screen?

    L650-1CH 15.6", 1366x768.
    ATI HD5650 1GB
    Hardware enthusiast, so please don't feel expected to dumb things down for me.
    Is it possible to get a higher resolution screen than the stock one, or one with better colour / contrast?
    I've always been annoyed at how washed out the stock screen on my Toshiba looked. Recently the screen cracked, so I figure now is the best time to look at options.
    Google has given me very little information so far. I've checked up pricing on screen replacement, with the part being around 60 and the part + service averaging 120, but that most likely leaves me with the same or inferior screen quality.
    I would hope to find something more suited to movies / games and in 1600x900 if possible.
    Any pointers as to where I should begin my search?

    Hi
    > Is it possible to get a higher resolution screen than the stock one, or one with better colour / contrast?
    Yes this should be possible since the graphic card should support higher resolution.
    The notebook supports the 15.6" (HD) TFT display.
    You need definitely the same size display.
    Found some spare parts on +pchub.com+ page

  • High Resolution Stills

    Is it possible to get high resolution stills from video using final cut pro? How do I do this? I desperately need to get printable images from video - with minimum expense!

    ''The whole dpi-ppi thing is nit-picking.''
    No Danny boy - it’s actually a matter of understanding what resolution is - you are perpetuating a myth that confuses too many people. Every week at least I have to explain to customers the implications of incorrectly demanding images should be a certain 'dpi' setting. Some of their mistakes are costly!
    The hard n fast rule is - do not use dots per inch to describe a digital image, only ever use the number of pixels.
    Dots per inch are only used in setting print output using ink, from office inkjet printers to web offset lithographic machines, it means; ink dots per inch, not pixels, frames per second or pints of beer.
    ‘’When one creates graphics the resolution should be 72 dpi.
    It is the actual pixels that are important.’’
    You contradict yourself in the same paragraph:
    There is no setting in any software application that can set dpi to format a digital image, you can only specify the number of pixels.
    ‘’Screen resolution on a CRT is effectively 72 ppi(or dpi).’’
    Screen resolution is not 72 and not dpi - screen resolution is measured in megahertz and line pairs per millimetre, the same way as a video camera is measured. Screen resolution measures the display device and has nothing to do with the number of pixels in an image file; you are confusing these two concepts. Each model of display has a different resolving power, as do cameras; so to blandly saying all screens have the same specification is wrong.
    ’This is why a 13 inch CRT shows exactly the same picture as a 36 inch CRT.’’
    Good grief NO
    An 1024x768 picture would only show a small part of the image if shown on a 800x600 display
    A 13-inch CRT would display the same number of PIXELS as a 36 inch CRT if the image is less than or equal to the maximum pixel size of the screen.
    If you would like to know where the number 72 comes from, and why it is incorrect to use dpi as a digital image measurement, read the following:
    www.scantips.com/no72dpi.html
    If readers would like to know when and how to use dpi settings correctly, read the following printer manufacturers info:
    www.photoexpert.epson.co.uk/UK/EXPERTISE/howto_choose_scanres.htm
    best regards
    Gary

  • Unable to switch to Higher Performance Graphics

    When I select the "Higher performance" graphics option under the "Energy Saver" tab of "System Preferences," I am prompted to log out for the change to take effect. I click logout in the dialog box and when I log back in and return to the energy saver settings, there appears a yellow triangle with an exclamation mark, which next to it reads "You must log out for this change to take effect." I have tried logging out, restarting, shutting down, resetting the PRAM; all to no avail. Any suggestions? I'm trying to get my StarCraft II on in high resolution, and it's just not working out without the higher graphics card being active.
    Thanks!

    I ended up having to have the logic board replaced by Apple. The board was failing or faulty, which seems to happen a lot for these models with the GeForce 9400M/9600M GT. I suspect these cards for our particular models were just not built to high quality specs and caused all sorts of issues after a few years of use.
    Since the warranty/extended warranty had already run out, I had to pay for the replacement. It's not that bad of a price for a MacBook Pro that's over six years old if you considering the cost of a new MacBook Pro or iMac Desktop. Since you had your logic board replaced already, perhaps it's still under warranty? Make an appointment with the Genius Bar to have them evaluate it and test it. They can then provide you the cost for the logic board replacement if needed. There really is no fix for it, other than a new/refurbished logic board replacement from Apple.

  • High Resolution pdf files

    How do I convert a pdf file with graphics and text (created from a MS Word Doc) into a high-resolution pdf file suitable for print media?

    In the printer properties or the preferences for PDF Maker (create PDF), select either the press or print settings file. That should do the job.

Maybe you are looking for

  • Jabber for IPad Directory Issue

    Guys, I'm been beating my head against this issue for the last couple of days and I think a new idea would be extremely helpful! Problem: No Corporate Directory being shown at all. Jabber for IPad client Version 9.1 CUCM 8.5 CUP 8.6(3) Microsoft AD E

  • [iPhone] How to create an app store link that generates a search query?

    Does anyone know how to create a link to the app store that will bring the user directly to a search results page? I've noticed that there is a free application called "Art Gallery" that contains a menu option that will take you to other games from t

  • Can't find my itunes or iphoto libraries on time machine backup

    Non-technical user trying to save/back up contents to External Hard Drive before upgrading to Snow Leopard. Copied overnight but can't see where my tracks/photos on the Time Machine Back up might be. Can anyone advise where I could find them or if I

  • How to display the descriptions of a "question" and "answers" in the LMS?

    Hello, evevyone, I am new comer in Captivate 5. In order to analysis the result of "Learner response", we need known the "Question" and "Answer" description of each Quiz in a SCORM player. Does Captivate return these information back to LMS? For exam

  • Link from sales order to delivery not complete

    2007A We have a few cases where the link from a sales order to delivery is not complete. For example, we have a sales order with 2 lines on it. We copy to delivery and add. Remarks field has the comment "based on sales order ...." However if you try