Changing monitor resolution with proper aspect ratio

My project size is 800x600 and I wanted to provide an option to the user to change their monitor resolution at 800x600 by clicking on button. I have also planned to do it by using buddy api xtra, and already tested it. The problem is, when I am doing this on a PC with panoramic monitor (native resolution 1920x1080), it got stretched. I know it's very natural (as the aspect ratio has changed ) and I can get it in shape by squeeze the width using 'draw.rect'.
I noticed, there are some PCs with advanced display card that don't even get stretched, but shows the 800x600 resolution in proper aspect ratio by keeping the extra space black both sides. And I don't need to write any further codes (squeeze the width using 'draw.rect') to keep it in shape.
The real problem starts here, I can't able to filter the above situations by any logical means. I wanted to write codes only for the PCs that get stretched, but I didn't able to find any support from Director to determine which type of display card has been attached. I need to know whether it will get stretched, or the display card can able to manage the aspect ratio.
Any one have any solution in this matter?
Please don't hesitate to ask if you need any more info.

Hello handler
If you talking about this kind of thing...
https://forums.adobe.com/message/5773207
search for.....  _movie.stage.drawRect = _system.deskTopRectList[1]    &    _movie.stage.rect = _system.deskTopRectList[1]
You don't need an xtra to change the resolutions - but you do have to work a few things - I tend to use flash text because it scales better.
regards
milky

Similar Messages

  • Does LR handle a dual monitor setup with different aspect ratios (16:9 and 16:10)?

    Does LR 5 handle a dual monitor setup with different aspect ratios (16:9 and 16:10)?
    I'm planing to buy a 27" 16:9 monitor and use it as primary together with a 22" 16:10. Does any have any idea?
    Thanks

    Moreover, the two monitors can have completely different characteristics.  As always, you really need to calibrate/profile any monitor (with a hardware tool - Spyder, Colormunki etc).  That's no more important with two monitors, but you see for sure if you don't, as two dissimilar monitors will then probably look different. 

  • How to obtain proper aspect ratios for sequences in Premiere Pro?

    I'm posting it here, because I use AE SDK for the effect.
    I've got a RED sequence in Premiere that is 2048x1152. The footage is 2816x2304 anamorphic 2:1. The sequence preview is 1920x1080, like any Premiere preset over HD. I can't seem to get the proper size and aspect ratio to resize the UI controls and position the effect.
    Normally I'd use this:
    scale_x *= (PF_FpShort) in_data->pixel_aspect_ratio.den / (PF_FpShort) in_data->pixel_aspect_ratio.num;
    scale_x *= (PF_FpShort) in_data->downsample_x.num / (PF_FpShort) in_data->downsample_x.den;
    scale_y *= (PF_FpShort) in_data->downsample_y.num / (PF_FpShort) in_data->downsample_y.den;
    But in this case it doesn't seem to work. Also standard procedures for UI resizing from SDK examples fail.
    How can I obtain the proper aspect ratio and sizes?
    Thanks in advance.

    Premiere Pro is not well designed for this type of collaborative work flow.  That's not to say something can't be made to work, just that it may not be as seamless as you'd like.
    For starters, there's no way to really 'merge' the changes made by two different people working on the same project, so one of the primary rules you'll have to implement is that only one person at a time can work on any given project, and you'll have to be in constant communication as to who is working on which project, with person A leaving it alone until person B gives the go-ahead.  At which point B will have to leave it alone until A gives the go-ahead.  If you don't do this, your changes will overwrite each other and you'll get nowhere.
    Second thing to be aware of is that clip markers are stored with the media, so while sending only the project file back and forth is fine for most things, it won't work with clip markers.  You'll also need to transfer whatever media files have the markers.  Given the relatively large size of media compared to project files, it may be best to simply forgo using clip makers.
    If the hard drive setup is not identical on both machines, you may have to relink the media with every swap of project files.

  • HT1338 I have a problem with the aspect ratio of photos as they appear on iPhoto.  They are not correct.  On the original photo people were fat and squat.  I tried rotating and they became long and narrow.  Neither correct.

    I have a problem with the aspect ratio of photos as they appear on iPhoto.  They are not correct.  On the original photo people were fat and squat.  I tried rotating and they became long and narrow.  Neither correct.  Any suggestions?

    Sounds more like a problem with your Display Resolution than iPhoto.
    Go to: Apple / System Preferences / Displays and in the Resolutions list select,
    1280 x 800 if you have a 13" MacBook Pro
    1400 x 900 if you have a 15" MacBook Pro
    1920 x 1200 if you have a 17" Macbook Pro

  • How do i transform a layer with maintain aspect ratio through scripting in Photoshop?

    Hi,
         How do i transform a layer with maintain aspect ratio through scripting in Photoshop? I am expecting your reply.
    thanks,
    Rajiv.s

    I don't think your talking apples to apples.  First I do not know of any Maintain Aspect Ratio icon in Photoshop. The only icon I think associated with transform is the anchor point icon in the option bar for transform. I think you may referring to the constrain check box in the image size dialog which you can check when resample is checked. Image size effect all layers in the document and the documents canvas size. The document canvas size will be changed to the values in the images size dialog and all layers will be transformed by percentage the canvas was changes while maintaining the layers position over the canvas and the layers I think may be cropped so only pixels over the canvas remain.
    I do not know if you know that layers can be any size and have aspect ratios different then the documents canvas.
    In your case it sounds like your describing a template that has a canvas size that is 2000px wide be 3000px high a 2:3 portrait aspect ratio.  Your image file has a landscape aspect. If you place that image into your template place would by default transform the image so the image would fit within the 2000px by 3000px canvas size there would be a white border top and bottom.  You could transform that smart object layer to it actual pixels size activeDocument.activeLayer.resize(100,100, AnchorPosition.MIDDLECENTER); then calculate the size you want to transform its height to. By retrieving the canvas size and the layers boundaries. Divide the canvas height pixel size by the layers pixel height size should give you the percentage you need to use. Make sure you set the ruler units to pixels so your working with pixel values for the canvas and layer size values. The resulting layer will be larger then canvas size keeping the anchor point centered will result in the canvas size masking off both sides.  In effect cropping you landscape to a portrait.  Note cropping a image from one orientation to the other changes the composition drastically.
    If your trying to make a composit like collage you may want to look at my Photoshop Collage Toolkit it will fit images to fill a 2000px by 3000px area http://www.mouseprints.net/old/dpr/PhotoCollageToolkit.html
    You could also do centered 2:3 crop that is resized to a 3000px

  • Need camcorder with an aspect ratio greater than1,920x1,080 format.

    Some years ago, I saw an ad for a Canon camcorder with an aspect ratio greater than the standard 2:1 ratio (1,920x1,080) format.  It boasted a true cinemascope format (16:9?) Is there something like that available today? Or do I have to go to a professional unit? Thanks for any help.

    Hi ridgerider,
    Thank you for posting.  The 1920 x 1080 resolution that our current camcorder models shoot at is a Full HD 16:9 aspect ratio resolution.  There is no need to move into a professional level model to get Full HD 16:9 video, unless a more professional level model is something you are looking for.
    If this is a time sensitive-matter, additional support options are available at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Help with setting aspect ratio

    Could someone please help me with an aspect ratio problem. I have just updated to iMovie 6 and want to work with an existing movie project created from iMovie (version before the ilife 5 version). On opening the project in the new version it is in widescreen and I would like to convert back to a regular format (regular display format) I would be most grateful for any help
    Thankyou

    Well, I guess I thought the video in Motion needed to look more rectangle (16x9) than square (4:3). Since it did in FCP. And my FCP sequence setting>Aspect Ratio says NTSC DV 3:2
    I am used to working with plain MiniDV 4:3. I shoot with Sony PD150. I don't understand or never had to deal with Aspect Ratios. This project they wanted a widescreen look so I switch the camera to 16x9.
    I don't think it is the real 16x9 but like I said I don't know about this stuff or why my camera has 16x9 on in if it is not the real thing.
    Feel free to comment, I am trying to learn

  • On Mavericks: Wallpapers with an aspect ratio of 16:9 or 16:10, if set to "center", will either format as "fill screen" or "fit to screen". Help?

    If I select a custom wallpapers with an aspect ratio of 16:9 or 16:10, if set to "center", will either format as "fill screen" or "fit to screen".
    With other aspect ratios, center works as supposed to.
    Ideas?

    In general this script should work:
    mov GPRM0, SPRM14
    and GPRM0, 3072
    Set System Stream St(Subtitle Stream 1) (On) if GPRM 0 = 3072)
    Set System Stream St(Subtitle Stream 2) (On) if GPRM 0 != 3072)
    Jump Track 1
    The value of 3072 is returned when 16:9 value is stored in SPRM14.
    However some players may disregard this script as they might look for the presentation information in IFO files or in the video stream itself.
    The better approach is to flag one subtitle stream as 16:9 and the other as 4:3 in DVD After Edit if you have an access to it.
    MacPro 2.66, G5 DP 2.7   Mac OS X (10.4.9)   TASCAM DA-88, DigiBeta, DeckLink HD Extreme, Cinemacraft Encoder

  • How do I batch resize images with different aspect ratios?

    How do I batch resize images with different aspect ratios?

    poa66 wrote:
    Landscape: I want result to be 1960 x 1103 px and 72 ppi whether the original is 300 ppi or 220 ppi and wether it is 2Mb or 10 Mb. Cropped centered top and bottom.
    There will be a set of Landscapes that that have a narrower aspect ratio the 1960:1103 that would also need the top and bottom cropped like all Portraits would could be.  You need to realize that center cropping Landscape image that have aspect ratios near 1960:1103 will usually produce acceptable compositions.  However Cropping wide panoramas and portraits will only produce acceptable landscape  1960:1103 composition occasionally.
    Here you will see what happens when image have aspect ratio the do not fit the desired aspect ratio.  Where Landscape  are forced to portrait and portrait forced to Landscape.  Here are two Collage I populated with a mixture of image  with different  aspect ratios.   One collage has all 3:2 Landscape places and the other 2:3 Portrait places.
    I create a 1 image 1960x1103 collage 72dpi and create those too. Note the landscape boy foot is cropped off 3:2 is narrow compared to 1960:1103

  • Running fullscreen on monitors with different aspect ratios

    I am trying to run a program in fullscreen on a projector. It works fine on my computer, but the background image appears stretched when I run it on a projector with a different aspect ratio. How can I run it as to prevent this?
    This is how the code looks:
    @Override
         public void start(Stage primaryStage)
              this.PrimaryStage = primaryStage;
              this.PrimaryStage.setFullScreen(true);
              ......which runs with this CSS file:
    #background{
        -fx-background-image: url("background-full.png");
        -fx-background-repeat: stretch;
        -fx-background-position: center center;  
        -fx-background-size: auto 100%;
        -fx-background-color: black;
    }

    Don't stretch the repeat
    -fx-background-repeat: no-repeat;
    AND
    -fx-background-size: cover;
    Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area.
    Or
    -fx-background-size: contain;
    Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area.
    Contain will provide a kind of letter box effect like watching an old 4:3 tv show a widescreen 16:9 TV.
    Cover will fill the screen with the image bug clip some of the image if the screen and image aspect ratios don't match.

  • How to capture frames in Premier Pro to edit in Photoshop with correct aspect ratio.

    I am using Premier Pro and Photoshop CS5 in Creative Studio CS5.  I have read and understand several help articles on square and rectangular pixels used for various video aspect ratios.  I am using the camera button on the bottom right of the Program monitor to captue a frame and save as a jpg file.  When I open the jpg file in Photoshop to edit for a DVD disc cover using the Elliptical Marquee Tool with a fixed ratio of 1 to 1, the result is not the circular image I need but wider.  This must be an aspect ratio conversion that I am missing.  I have seen conversions that correct this by lengthening the height but the image is also lengthened and thus results in a distiortion.
    How do I correctly deal with this aspect ration conversion between Premier Pro and Photoshop without distortion?

    This is most likely a PAR (Pixel Aspect Ratio) issue. With SD (Standard Definition) Video, you can have Standard 4:3 w/ PAR = 0.9, Widescreen 16:9 w/ PAR = 1.2, or a non-standard 4:3 w/ PAR = 1.0 (rounded PAR's for NTSC).
    In Ps, you have the ability to adjust the PAR, under the Image menu from the Toolbar. For use on a DVD, you would choose a PAR of 0.9 if you have Standard 4:3, or 1.2 for Widescreen 16:9.
    With the PAR adjustment, to match your Video footage, you should then be able to get what you want, without the distortion. Also, note that one can change how the PAR displays in Ps. By default, it will be Square Pixels, or PAR = 1.0, and you should get an info message that the display is not showing the exact PAR. This can also be changed in Ps.
    For more discussion on PAR, see this article: http://forums.adobe.com/message/3456609#3456609
    Good luck,
    Hunt

  • 16:9 Apple TV export playing with incorrect aspect ratio in iTunes.

    Hi, I've exported a 16:9 PAL movie from FCP using 'Export for Apple TV' which plays fine in Quicktime (1024x576 m4v file), my problem is when I import it into iTunes it changes the aspect ratio to 720x576. If I 'show in Finder' and play the iTunes import using Quicktime it plays fine (1024x576).
    So it seems a problem with iTunes?
    If anyone else has fixed this problem I'd love to know how.
    Many thanks,
    Dave

    For anyone interested...
    I've been in contact with Elgato http://www.elgato.com/elgato/int/mainmenu/home.en.html
    regarding this as they are part of this issue.
    They have confirmed that there is a bug in the latest releases of iTunes that is causing the problem.
    They have been communicating their information to Apple but have had little response to date.
    Maybe we'll get a fix when Apple could be bothered.

  • Problem with pixel aspect ratio

    I searched but found no answer.
    I have several Maya renders which are at a resolution of 720x486 and a pixel aspect ratio of 1.2. I composited my image sequences in after effects interpreting that 1.2 pixel aspect ratio. I then exported a quicktime movie using no compression at 24fps at a resolution of 720x480 NTSC 16:9.
    When I import this video into Encore 2.0 It comes out as full screen. Not only is it full screen, but when I preview the dvd, the video is blurry with scan lines and black bars on the left and right side. The menu however, is widescreen (I used a template as a test)and perfectly clear. I tried to select the asset and go to file>interpret footage, but this option is grayed out. I have also tried exporting an avi from after effects and importing that into Encore. It still will not let me set the pixel aspect ratio. I have read that After Effects does not embed the pixel aspect into exported videos. I have also read that I should export mpeg2 videos for use in Encore, however I do not see this option in After effects or Premiere Pro.
    What am I doing wrong? Any help is appreciated. If I left any information out that could be useful, please let me know.

    (Ack, for some reason I typed "DVI" and really meant "DV")
    Thanks for the response. I don't really care if I preserve the 4:3 aspect ratio. Or does my GL1 not use square pixels and I just never noticed it? It's strange I've never seen this problem until FCE HD.
    I have tried exporting a number of ways from FCE, including Export > QuickTime Movie... and Using QuickTime Conversion... For the latter, I typically set it to export as 720x480. I always export as video. The final export contains video clips as well as still images within the video.
    I am a bit embarrassed having to ask this question. I've been working with still images in photoshop for over a decade and worked a lot with video during that time as well.
    Thanks again.

  • Dll file to change monitor resolution to 1024*768

    hi,
    i want to change my  computer monitor resolution to 1024*768 programatically. If anybody have this .dll file please suggest me so that i can call this dll in labview apllication and will set my PC resolution to 1024*768 . Please do the needful.
    Regards
    Falgandha Mohire

    G Toolbox has a set of VIs can do this:
    Enumerate Display Mode: Enumerate all supported display modes(width, height, color depth, & frequency) on your computer;
    Get Display Mode: Get current screen resolution, color depth, and frequency;
    Restore Display Mode: Restore the screen resolution, color and frequency to the registry values dynamically;
    Set Display Mode: Change screen resolution, color and frequency dynamically, with option of change registry settings.  If no change, the previous settings can be restored with Restore Display Mode, or reboot.
    George Zou
    http://webspace.webring.com/people/og/gtoolbox

  • Editing two files together for proper aspect ratio output

    hello,
    i have 2 files that are 720 x 480 which i'll edit into one project playing together side by side.
    this will then show on a projector with a native resolution of 1280x800.
    i do not want to crop the sides of two source files by half, but to crop them by a lesser amount to make a wider pairing that will play well with the projector's 16:10 aspect ratio, with no black banding.
    to begin my project: 768x480 (same 16:10 ratio as the projector) is not an option to select as a project starting point. 1280x800 is also not an option, and although the crop is actually perfect in a 1280x720 project, i don't want fcpx to do the upscaling, and i believe the 16:9 aspect ratio would lead to black banding top/bottom when shown on the projector.
    i'm not sure where to begin, any advice would be appreciated,
    thanks.

    Unfortunately, FCPX does not offer any 16:10 project settings. The different resolutions offered for HD formats refer to pixel ratio rather than actual dimensions. A project in FCPX is going to be either 4:3 or 16:9. There are a couple of things you can try, but my recommendation would depend on what program will be used to output the movie to the projector (QuickTime?). The 1280x720 dimensions are the standard 720p resolution and is as close as you will get to your desired resolution. If you are worried about the banding that would occur when displaying a 16:9 file on a 16:10 projector, the easiest solution would be to use the media player to stretch the movie to fill the screen. If you have Compressor you could encode your FCPX output to your desired resolution, but you will still be stretching the image. If you want more assistance provide a little more info, are the soure files 4:3 or 16:9 for example, and I may be able to offer more advice if I know a little more.  

Maybe you are looking for

  • CNE5 transaction problem in Upgrade ECC5.0

    I have problem in the  transaction CNE5 . this transaction is working in 4.6b but its showing dump in ECC5.0. saying ABAP errror.we r upgrading from 4.6b to ECC5.o Can u plz help me Thanks

  • Is there a Data Model in BW for Financial Reporting?

    Hi, I am required to integrate a non-SAP Financial application to SAP BW. I am wondering if there exists a Data Model in SAP BW that supports out of the box canned reports. This will help me target the interface design to feed the existing Data Model

  • Result row when condition is active

    Hello gurus, I have created a condition in my report and the result row does not reflect the rows displayed when condition is active. Is it possible to get a result which is the total of rows displayed when condition is active ? Thanks in advance, Va

  • JDeveloper 10.1.3 embeded OC4J can't host Apache CXF Service.

    I use JDeveloper 10.1.3 to created a test web application, which uses Spring and Apache CXF 2.0.3 hosting a sample web service, but when the application start the following error occurs: [Starting OC4J using the following ports: HTTP=8988, RMI=23891,

  • MSAD usersi not login into the Planning

    Hi All, I did the intergration with MSAD. I am getting all the MSAD users in shared services. While running the ProvisionUsers.sh cmd, i am the getting the error as *[Thu Sep 17 90:08:11 GMT+03:00 2009] Starting synchronization.* Error Occured: java.