Topic: Image field
Hi,
Is there a (simple) way to show only a part of the image in the image field instead of all the image ?
(based on x,y coordinates with width and height of the part to display)
Regards,
jihem
https://jihem.itch.io
My Visual Database → Script → Image field
Hi,
Is there a (simple) way to show only a part of the image in the image field instead of all the image ?
(based on x,y coordinates with width and height of the part to display)
Regards,
jihem
Hello.
Place a Image component on top of the DBImage component, so you can draw transparent rectangle on the Image component to show only part of DBImage component
procedure Form2_OnShow (Sender: TObject; Action: string);
begin
Form2.Image1.Canvas.Rectangle(50, 50, 150, 150);
end;
But in this case you don't have access to buttons of DBImage component.
Thanks for the answer (to hide unused part).
Is there a way to crop a part from the image ?
But now it's work like a crop.
Hi,
Sorry to annoy you again :-/
It's not exactly a crop (even if it tastes like it). It hides the whole image except the rectangle area (most of the space is useless).
I would like to display the 'cropped' part on the entire area of the image field (zoomed).
Thanks
jihem
Unfortunately it does not support.
My Visual Database → Script → Image field
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi