Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Preview aspect ratio.
#1
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.
Reply
#2
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
Reply
#3
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.
Reply
#4
Just replied to something that vanished Wink 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)'
Reply
#5
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.
Reply
#6
(07-18-2018, 11:58 AM)eslavko Wrote: 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.

ah,  but, someone, sometime will have the same question and perhaps look here.
Reply


Forum Jump: