![]() Height specified in the canvasWidth and canvasHeight arguments. Image of type BufferedImage.TYPE_INT_RGB is created. image - if non-null, a BufferedImage in which to place the image. If the aspect ratio is less than one, the full height of theĬanvas is used, and the width used is proportional to the aspect ratio. One, the full width of the canvas is used for the image the height used is proportional to If the aspect ratio is greater or equal to aspectRatio - the aspect ratio, width/height, of the window. Parameters: sector - the sector of interest. Specified aspect ratio within a canvas of a specified size. addImage public void addImage( String name,Ĭreate an image for the portion of this layer lying within a specified sector.WWRuntimeException - if the image type is unsupported. IllegalStateException - if an error occurs while reprojecting or otherwise processing the image. IOException - if an error occurs reading the image file. Throws: IllegalArgumentException - if the image path is null. Parameters: imagePath - the path to the image file. Only reprojection from UTM is currently provided. The image is already in geographic projection. If projection information is not available then it's assumed that Will be reprojected to geographic coordinates. If projection information is available and reprojection of the image's projection type is supported, the image The number, names andĬontents of these files are governed by the type of the specified image. The image's location is determined from metadata files co-located with the image file. ![]() Propert圜hangeListener propert圜hangeĪdd an image to the collection, reprojecting it to geographic (latitude & longitude) coordinates if necessary.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |