August 22, 2019, 12:56:49 pm

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


LM_Image Custom Image Control Library Problem

Started by Brian, October 17, 2018, 03:48:31 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brian

Larry,

The GetSize function seems to be broken. This code works as long as I don't replace the image size of 600,338 with the w,h values. Worked yesterday!

'Load a picture
   LM_Image_GetSize(fileName,w,h)
   LM_Image_Create(win,fileName,270,16,600,338,0,1)
   LM_Image_SetBGColor(win,1,Image,NoImage)
   LM_Image_SetImageBorder(win,1,Image,0,0)
   LM_Image_MaintainImageRatio(win,1,1)

Brian

LarryMc

Brian

what are you not seeing now that you were seeing yesterday?
It would help me look into it if you could email me a program that shows the problem.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

LarryMc

I compared you program side by side to my version. Yours didn't work and mine did. They appeared to be identical.
That meant yours had something hidden typed into it. I replaced all the lines that involved my library and that didn't fix it. I replaced every thing from
Code Select
WINDOW win
down.  Your program then works like it is suppose to.
I also used a colorpicker to set the image and noimage values to the correct tints.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Brian

Hi, I've been messing with Larry's LM_Image library. This is what I've got so far. Only problem is I can only get it work on my PC using Larry's LM_Image 1.2 version - not the 1.3 he has just posted

We have been trying between us to get it to work with 1.3, but no success on my end. There's everything you need in this zip file, including the 1.2 stuff. I am not using the pbsctrl.inc file, as I don't really know how to convert it. I have included it here just for reference

You will know what to do with all the files, I reckon. If anyone can improve it, please do, and let us all know what you have done

Brian