Preview aspect ratio. - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: Preview aspect ratio. (/Thread-Preview-aspect-ratio) |
Preview aspect ratio. - eslavko - 07-18-2018 Hello... I need to draw some images for LCD screen used in embedded controller. So I open gimp and set 128x64 pixels image and draw it. The image on computer screen is perfect but when I upload to the embedded screen it's ugly as aspect ratio is wrong. So how to change aspect ratio for preview on computer to mimic that for embedded lcd? The LCD is 128 x 64 pixels but it's near square. So I need to draw on 128x64 matrix but somehow squeze image from left and right on preview. Is that possible at all? Thanks. RE: Preview aspect ratio. - rich2005 - 07-18-2018 Welcome to gimp-forum.net 1. Set up a 128x64 pixel canvas and in the advanced options break the link between X and Y resolution then make the X resolution x2 the Y resolution. If needed Gimp can do the arithmetic but it is just twice. screenshot: https://i.imgur.com/RVCOXrL.jpg 2. In the view menu untick the Dot for Dot option. https://i.imgur.com/CIrQ5ws.jpg 3. That gets a square canvas to work on. Note it is still 128 x 64 pixels that does not change. Some elements (curves etc might look a little fuzzy because of the interpolation (- the price you pay) https://i.imgur.com/nUOBRVr.jpg 4. Finished. Turn Dot for Dot back on. Save you work as Gimp .xcf which keeps layers, guides, masks. Export the image in whatever format the controller firmware uses. https://i.imgur.com/dwGvHtm.jpg RE: Preview aspect ratio. - eslavko - 07-18-2018 Hello... That is just perfect! Actually I did near all by myself but have bad result until I uncheck Dot for dot. That now does exactly I want/need. I did open new view to show real display size and draw on original magnified works like charm. RE: Preview aspect ratio. - rich2005 - 07-18-2018 Just replied to something that vanished still worth a check The grid on a per-image basis is set up in Image -> Configure Grid set the spacing to 1 for both width and height. screenshot. https://i.imgur.com/lBA9AQt.jpg The grid visibility is toggled on/off in View -> Show Grid https://i.imgur.com/4cZ16df.jpg and a hint, For single pixel painting, which you will probably need, use the pencil tool which does not create anti-aliasing and a brush size of 1. There is a small hard brush in there somewhere 'pixel (3x3)' RE: Preview aspect ratio. - eslavko - 07-18-2018 Hello... I post the question about grid as I didn't find how to configure it to 1pixel. But when I send the question I find that option and then deleted message as it was out of topic already. Thanks for all question. RE: Preview aspect ratio. - rich2005 - 07-18-2018 (07-18-2018, 11:58 AM)eslavko Wrote: Hello... ah, but, someone, sometime will have the same question and perhaps look here. |