Author Topic: Images and Pictures  (Read 623 times)

Randal

  • Newbie
  • *
  • Posts: 10
    • View Profile
Images and Pictures
« on: December 06, 2017, 12:29:00 PM »
I'm having a hard time understanding how to make these work. My computer resolution is 3840x2160 and I have an image that is 770x1140. One would think that it would fit easily but it doesn't. I've set the window size to 77x102 which fills up the screen so I take it these are based on a mono font character rather than pixels.

I'm trying an experiment where there is a database of names and addresses and a picture of the person scaled to fit in the upper right corner and can't seem to make anything work. The image (no matter what it is) takes up the majority of the desktop.

What could I be doing wrong?
« Last Edit: December 06, 2017, 12:33:38 PM by Randal »
Maybe it's just a bunch of stuff that happens. -- Homer Simpson

eleusmario

  • Administrator
  • Newbie
  • *****
  • Posts: 19
    • View Profile
Re: Images and Pictures
« Reply #1 on: December 07, 2017, 05:32:53 AM »
Use the Resize method to decrease or enlarge the image to any dimension, for example:

Image Test, "Test.jpg"
Image Test.Lin = 0
Image Test.Col = 0
Image Test.Height = 15
Image Test.Width = 30
Image Test.Resize, 15, 30

This method does not appear in LB Help, but I will update it soon.

« Last Edit: December 08, 2017, 05:13:35 AM by eleusmario »