on 01-11-2021 7:43 AM
Upgrading from SP28 to SP29, PNG image data with a DPI of 600 is not being scaled correctly any longer (image appears way too large on the report). The same image data scales fine on SP28. The same image saved as a JPG file works fine, too.
Is this a known issue of SP29 yet?
If needed, I can provide such PNG file. The specific one we have I cannot share due to privacy reasons.
It appears this is a regression issue so I'll escalate it to R&D.
Case - 27076/2021 PNG Image too big if printed with CRVS SP29
KBA - 3012958
I'll try to get this in SP 30, no promise though, it's closed now...
Check here for SP 30:
https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads
Thanks again
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here are the use instructions for an existing UFL function that materializes a database-stored image into a local image file.
Note that this function can also convert the image type (for example, from png to jpg).
Disclosure: I am the developer of that UFL. There are other UFLs listed here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A UFL can materialize a modified (size, and/or type) image from the database to the hard drive.
But it sounds like your best best is to simply roll back to earlier SP and wait for SP30.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
At least one of the 3rd-party UFL listed here allows you to resize images on the fly (for example inside the 'Graphic Location' expression). Or you can create such a UFL yourself.
The added advantage is that by not requiring Crystal to resize the image, you get much lower memory consumption.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ran into this myself also.
Solution is to open the image and resize it to fit the page or within CR and resize it there.
Changes due to Third Party dependencies.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the response.
Is there anything else that can be done? The image data is loaded dynamically into CR from a database field (BLOB field), so the size is variable and we don't necessarily have control over the images our customers use (plus the need to change hundreds of existing images that were working fine before).
SP28 scales the BLOB field to match the page size, SP29 keeps the full huge scale of the 600 DPI image.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.