Page 1 of 1
Image in a Carousel
Posted: Thu Jul 28, 2016 12:41 am
by billcross
In the carousel examples the image used is a bitmap, is this the only image type that can be used and if not how do you make the carousel use a different type ?
Re: Image in a Carousel
Posted: Thu Jul 28, 2016 9:14 am
by Stewart Marshall
The Employee images stored in the PSLIMG table are actually PNG files.
The LANSA class Prim_Bmp (
http://docs.lansa.com/14/EN/LANSA016/PRIM_BMP.htm) is so called because it was first created in the mid 1990s and bitmaps were all the rage. JPG didn't really become popular until the late 90s. Rather than making new classes for emerging image types such as Prim_JPG, Prim_PNG and so on, the class was extended to support different types.
You can use Prim_BMP to manage BMP, JPG and PNG files.
Do you have a particular file type that's not covered?
Regards
Re: Image in a Carousel
Posted: Thu Jul 28, 2016 9:37 pm
by billcross
So does that mean that a JPG is not being converted to a BMP when the filename for a PRIM_BMP is set to a JPG file ?
Re: Image in a Carousel
Posted: Fri Jul 29, 2016 9:54 am
by Stewart Marshall
Correct
Whatever you put in a PRIM_BMP will remain exactly as is.