When I deploy my app to WebDirect the image compression is pretty high and images do not look good. Is this something I can control?
You can use Thumbnails to show in WebDirect. That would improve performance. You can also use MBS plugin to save other sizes of your image.
What are the images you are referring to? Just images on the layout or images in containers?
johanhedman: can you say more about these options? I'm new to FileMaker so any additional information you could provide would be helpful.
Saving things as Thumbnail is something you can do natively in FileMaker. When you save your file, you can store the thumbnail in another container field
For MBS plugin here is the list of possible function you can use with that plugin. You can use that on your FileMaker Server or at FileMaker Pro
Monkeybread Software - MBS FileMaker Plugin: index
What johanhedman is suggesting will decrease the resolution further. Maybe not what you are looking for.
Can you give an example of the size of the actual image in pixels and the size of the object on the layout in pts.
Here is an image as seen in the File Maker client (32x32 pts)
And here it is on the web via WebDirect (32x32px)
Would love to figure out how to reduce compression and keep image quality up.
Your screen shots have more than 100px on height, then the picture may be not 32x32, (64x64?) then looks webd use thumbnail or resized image.
I save the image into container, can't get same result on Chrome/Win7. It use orignal size and browser show resized image. Which browser/OS do you use? Hi resolution monitor?
I am curious about the browser as well.
Compression is really best dealt with before the image in added to the file. I like to use images with at least 1.5x the size of the container or layout object. If the images are small I might use 2x.
So if the container is 32x32 your actual image would be 48x48 (1.5x) or 64x64 (2x) and reduced to fit container. This is especially important on retina/hires displays.
Yes, apologies. The screenshots above are from a high resolution display. The units are correct.
As for the actual image, it is much larger than the container. In the example above the image I'm providing is 400x400px.
I was having the same issue, my client wanted 2 homepages which were png images. there was a big loss of quality by simply inserting the png image on the layout, whatever the quality of it. Filling the body of the layout with this same image enhance quite a lot the quality of the image viewed in webdirect.
Retrieving data ...