Image in a Carousel
Image in a Carousel
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 ?
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Image in a Carousel
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
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
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 ?
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Image in a Carousel
Correct
Whatever you put in a PRIM_BMP will remain exactly as is.
Whatever you put in a PRIM_BMP will remain exactly as is.