Type is not required for ordinary print. For PDF Print you need to mention the type.
Dear Rathi,
In order to avoid this kind of missing parameter, please considere following possibilities for correction and improvement of the code at _HMG_HPDF_IMAGE function.
Where is default cImageType := "PNG" could be replaced by:
Also, we can check whether the cImageFilename contains .jpg and if it is there then we can default the image type to jpg. But if the image is from resources, then it won't have an extension.
East or West HMG is the Best. South or North HMG is worth.
...the possibilities are endless.
Rathinagiri wrote:Also, we can check whether the cImageFilename contains .jpg and if it is there then we can default the image type to jpg. But if the image is from resources, then it won't have an extension.
I see, thank you Rathi to share your experience about.
I am study a bit more this case and what it can be done.
I'll revert soon as I have something to indicate.
HMGing a better world "Matter tells space how to curve, space tells matter how to move." Albert Einstein