Setting the Image Dimensions

Hi,
I'm trying to place objects at various points on a frame. I need to set the coordinates system so that the frame is divided from 1 to 255, (bottom left to top right) regardless of how big it is in pixels. Any suggestions?
Thanks for your time,
atreides7887

Read the documentation for AffineTransform, specifically the methods getTranslateInstance and getScaleInstance.
You can pass a negative parameter to getScaleInstance to reverse the direction of increasing y-values.
db

Similar Messages

  • Do you know if it's possible on an iPad to set the image quality/size or do we just have the one size - the photos I've taken work out at approx 8 x 6cm @300ppi - not that big!

    Do you know if it's possible on an iPad to set the image quality/size or do we just have the one size - the photos I've taken, work out at approx 8 x 6cm @300ppi - not that big!

    8cm * (1 in/2.54cm) * 300 dpi = 944 pixels (should be 1280 if this is the back camera)
    6cm * (1in/2.54cm) * 300 dpi = 708 pixels (should be 720 if this is the back camera)
    The back camera on iPad 2 is 1280x720 = 0.92Mp.  No way to increase that.

  • Unable to set the image size interms of percentage

    Hi Friends,
               In my webdynpro application I am using IWDImage, I need to set the height and width of that image interms of percentage ratherthan pixels. I gave 50% for both height and width but I was not unable to get the image. While setting size of the image by number of pixels I am able to get the image.
               Could you people please tell me why I am unable to get the image while setting the image size interms of percentage.
    Thanks in advance,
      Sandeep Kumar Bonam.

    Hi sandeep,
    I tried that by giving %, its working fine.
    try once again...
    how are u doing that....
    otherwise u try with different heights and widths...

  • Set the image to the folder, theme creator

    Set the image to the folder, but will not be reflected after the installation.
    Please help

    Thank you for the message I am using theme-creator-v0_0_3-BETA... but,It is not reflected background Only the color of the character will be reflected  

  • How do I set the image size in PS touch to print to my Epson printer w ithout losing any of the picture. PS Touch appears to be showing pixels and not inches, how can I covert it toshow inches?

    I am using PS Touch from my tablet . I am importinga photo from an SD card . When all editing is completed I then send it wireless from the tablet  via Epson I print to the printer. It all works great except that part of the photo at each end is cut off and does not print. I am printing on 8.5 x11 paper.
    How do I convert the image size in PSTouch frm pixels to inches?

    Epson's iPrint has always been an oddball. It will always "zoom in" on an image to print even if you have the proper dimensions and resolution set for actual print size. I think other users have reported this, at least on Android.
    You can't have PS Touch show inches instead of pixels at this time but you can use an online website to find out what you need to fit within a particular resolution. (Google "pixels to inches calculator".)

  • Setting the image size within a JFrame!

    This is the code i have implemented
    import javax.swing.*;
    import java.awt.*;
    class SampleJFrame extends JFrame
         JLabel l1;
         ImageIcon image;
         SampleJFrame()
              image=new ImageIcon("G:/java files1/images/aa.jpg");
              l1=new JLabel("DEDICATION",image,JLabel.RIGHT);
              l1.setSize(100,100);
              //this.setLayout(new FlowLayout(FlowLayout.RIGHT));
              this.add(l1);
    public class JFrame2
         public static void main(String args[])
              SampleJFrame samplejframe=new SampleJFrame();
              samplejframe.setTitle("FRAMES WITH JLABELS WITH IMAGEICON");
              samplejframe.setSize(400,400);
              samplejframe.setVisible(true);
    }When i run this the image occupies the entire JFrame.I want to resize it to a width of around 100,80 pixels.How can i do it?
    I know when i draw a image without linking to a label i can use drawImage of Graphics class to set the size of the image.But in this case i am linking the image to the JLabel and it's occupying the entire screen and the text with the JLabel is thrown somewhere out.

    Read it.Got a lot of info from that.But the trouble with mine is that i am linking the image to the JLabel and thats why i am unable to set its size because the image will be added to the JPanel when i add the JLabel to it?If i was directly printing the image i would have rather used Graphics.drawImage( ) where i can manually specify the width.

  • Where can I set the window dimensions for the "Java Applet window"?

    Hi,
    When I run a form on the web, the Java Applet is loaded and the form appear in the window. But "base window" have gived dimensions indifferent what dimensions has the window of the form which I run.
    So, where can I set the dimensions of the "core window" which is behind the MDI window of the application?
    Thanks in advance,
    Eugen

    Eugen,
    in formsweb.cfg you will find parameters "width" and "height". You can set absolute values in pixels or "relative" in percent.
    width=800
    height=600
    or
    width=100%
    height=100%
    Gerald Krieger

  • [JSF] How Do I set the image's ID.

    Hi All!! Im nab.
    Im Japanese and new of JSF..
    plese give me some advice about ID.
    <h:dataTable value="#{Multi.class}" var="item"
    rowClasses="odd_row,even_row" columnClasses="" >
    <h:column>
    <h:selectBooleanCheckbox id="class0" value="#{item.selected}" />
    </h:column>
    <h:column>
    <h:outputLink value="#" id="ClsLnk" onclick="hogeFunc();">
    <h:graphicImage url="/img/hoge.gif" id="img_'I WANT TO PUT HERE Fileld1s VALUE'" width="16" height="16"/>
    </h:outputLink>
    </h:column>
    <h:column>
    <h:outputText value="#{item.field1}" />
    </h:column>
    </h:dataTable>
    please see above..
    I want to use ItemField1's value as Image's ID.
    I tried many way. like this.
    <h:graphicImage url="/img/hoge.gif" id="img_#{item.field1}" width="16" height="16"/>
    but it went to error.
    I have to say.. What I want to do.
    just.. I want to change the Image's Style using javascript and field1's value..
    for example..(XX is field1's value..)
    document.getElementById(img_XX).style.visible = hidden.
    Thank you for your help.

    Easiest way is to add a new field to the DTO.public String getImageId() {
       return "img_" + this.field1;
    }If you don't want to change the DTO, try the following:
    JSF<h:dataTable binding="#{myBean.table}">
        <h:graphicImage id="#{myBean.imageId}" />MyBeanprivate HtmlDataTable table; // + getter + setter
    public String getImageId() {
        MyTable myTable = (MyTable) table.getRowData(); // MyTable is the DTO
        return "img_" + myTable.getField1;
    }

  • Set the same dimensions to multiple objects

    Is there a way how I could set the same width and height to the multiple selected objects with different dimensions? I don't wanna go through all of these objects one after another and set up the dimensions manually… Maybe a script would be available? See the example below. Thanks

    try the script set all the things by wundes
    wundes.com

  • Set the image URL

    Hi everybody !
    I'm using ALC Designer 8.2
    I m tring to set the url of an image with this command when i click on a button :
         Image1.value.#image.href = "http://www.adobe.com/ubi/globalnav/include/adobe-lq.png"
    But when i click on the button, the image disappear. it doesn't work.
    Thanks

    I found another solution to load the image from the server during render time using XDP Format in ASP.NET.
    Check details here:
    http://forums.adobe.com/message/1989034
    Tarek.

  • Adobe recently downgraded the "Image Size" function in Photoshop.  How do I get back to the old utility in which I could directly input the image dimensions in pixels?

    How do I undo the damage Adobe did to the Photoshop Image Size function?

    No, it's not downgraded.
    You can still enter the dimensions in pixels with the current dialog.  Just check [ ] Resample and change the units to Pixels before entering the number.  Voila.
    The difference in the layout just takes a little getting used to, after which it becomes very natural to use.  To me it seems more logical now than one in the old versions of Photoshop, and of course the new Preserve Details (enlargement) resampling setting is WELL worth having.
    -Noel

  • Setting the image size?

    How would I set a specific image size to my photo, not an aspect ratio, but a specific image size such as 8"X9" ? I need this feature when I shoot tethered and have the specific size of a layout to adhere to an want to make sure my crop fits the layout perfectly, Thanks

    Jim gave you the RIGHT answer on how Lightroom works with crop size but if you want to see a 8x9 box on the screen you can create an overlay and then you will not have to have the crop tool turned on.
    Layout Overlay view > Martin Evening on Importing Photos in Adobe Photoshop Lightroom 4
    Lightroom 4 Layout Overlay Options - YouTube

  • How does one set the DPI when resizing images in Bridge?

    I am sure I am missing something here (so excuse me if its a simple answer) but I am used to using Photo Mechanic and there you are able to set lots of variables while resizing.  I don't understand this Bridge resizing window when using Batch Processing thru Photoshop. 
    -There are two boxes for sizing.  If you put the same dimension in both does it just set the longest dimension to that size?
    -What if I want say a 10x10 inch image at 72 DPI for web use as opposed to a 10 x10 inch image at 300 DPI for printing purposes, where does one enter that info?
    Thanks,
    Joshua

    You don't "resize" anything in Bridge, nor does it set PPI, pixels per inch—and most certainly NOT "DPI" (Dots [of ink] Per Inch) which is exclusively a feature of the printer.
    Bridge is just a File Browser.  It used to be called simply the Photoshop File Browser".  It doesn't open, edit, manipulate resize or even save anything.
    It merely hands the file(s) over to the appropriate application, whether that be Photoshop, adobe Camera Raw, Illustrator, InDesign or even MS Word.
    You wrote:
    -What if I want say a 10x10 inch image at 72 DPI for web use as opposed to a 10 x10 inch image at 300 DPI for printing purposes, where does one enter that info?
    Again, you mean PPI in both instances there.
    You enter that in whatever application you're sending the image from Bridge.
    For instance in Photoshop:

  • Setting the Crop Tool Dimensions Automatically in the Middle of a Script

    Is there a way to set the crop tool to an 8"x10" dimension in the middle of a script? I have a script where it prompts the user to set the crop tool manually to 8"x10" and then crop the image manually, and continues thereafter, and in another part of the script, a message alerts the user to set the crop dimension to 7"x5". I am not sure if this is possible. I tried to load a preset but it does not work the next time Photoshop is opened.
    Waiting for any hint..thanks.

    Yes but not so much with the crop tool.  Your better off with a selection then image crop http://forums.adobe.com/message/4476999#4476999
    Once you set the selection you can also make the action interactive by adding a interactive transform selection step the you turn on its dialog. While recording the action you rotate the transform 180 degree which actuallu doe not change the selection. However it let the user to just hit enter to accept the selection.  If you fail to rotate the selection when you record the action. Just hitting enter would cancel the transform selection and the action would stop at the transform selection step.  You can also cancel the transform to stop the action because you made a manual error not holding the shift key to maintaim the selection 4:5(8:10) aspect ratio and you moved a cornor or side.  Once you cancel the transform selection you can click play the action will start pyaying from the transfor selection and you can retry transforming the 4:5 selection correctly.

  • How do I set the thumbnail image of my videos that export to my computer?  I'm using Premiere Elements 11 on a windows 8.1 PC 64bit.

    How do I set the thumbnail image of my videos that export to my computer?  I'm using Premiere Elements 11 on a windows 8.1 PC 64bit.
    Or how does Premiere 11 determine where to set the image for the video it is exporting? 
    I already know how to use Freeze frame and save the image to my computer by Publish+Share/Computer/ Immage.
    Thanks,
    Mike

    Mike
    This is not Adobe. Rather user to user. We are all visitors here.
    Just a bit of history....back in the days of Premiere Elements 4, you could set a "poster frame" in what was called the Project area. You did this by right clicking a blank area there and, from the drop down menu that appeared, selecting View/Preview Area, and using the poster frame feature there.
    As I said, when a video imports into Premiere Elements, the thumbnail of the import has been presenting as the first frame of the video. With this Preview area "poster frame" option, you could set the video's thumbnail in the Project area so that the first frame was another frame in the video. But, this "perk" was restricted to thumbnails of the video in Project area.
    If you exported to file with the first frame modified video, the export's thumbnail in Windows Explorer would present with other than the real first frame or the poster frame as the first frame.
    Also, in more recent versions, I have observed that the export to file does not display the real first frame of the video in Windows Explorer. Seems random, but I have not kept track.
    And, remember, at the onset I wrote
    As far as I have ever seen, Premiere Elements Windows uses the first frame of the video for its thumbnail in the program.
    I know of no way within Premiere Elements to control what the program opts to do in this matter. In some compatibility
    issues, it opts to give no image but a generic one.
    I did not say that you can expect to have the Premiere Elements' export file's thumbnail in Windows displaying with its real first frame. And, the more you get into this, depending on the versions, more details need to be added to my comment about "...first frame of video for its thumbnail in the program..."
    I would have to look into all this further to get perspective on the contributing factors.
    ATR
    Add On...The Poster Frame feature appeared in versions 4, 7, 8, and 9 by my count.

Maybe you are looking for

  • Lock never expires

    Hello, About once a month it happens that a lock of a "ENV->txn_checkpoint( ENV, 0, 0, 0 )" simply blocks and does not expire. In the down below `db_stat -CA` the lock is kept more than 5 hours ("*expires 02-01-00:03:07.151182000*"), until I could do

  • Backward Compatibility of New Intel Processor Mac Mini

    Will the data files and applications like Quicken 2006 on my old Power Processor Mac Mini transfer to the new Intel Processor Mac Mini? Mac mini   Mac OS X (10.3.9)  

  • I have lost the use of my page back button

    Since I recieved a Firefox security update yesterday I am unable to navigate back to the previous page. Also when my opening page loads up it nolonger gives me an address and I have to press the home button

  • Barcode scanner in Adobe flash

    Hi, I am looking forward to use usb barcode scanner for my Abobe flash application with player 9 and actionscript 2.0 The application has java as the back-end. Please advise the options available. thanks in advance

  • Changing url's from Podomatic to My Website

    Hi there, I'm confused. I have read the instructions to this topic but don't understand how to implement the change. I understand the change tag is <new-itunes-feed-url> which I need to put before and after the feed url, but which feed url the old on