如何在不缩放的情况下更改blob字段原始大小 [英] How to change blob field original size without scaling

查看:87
本文介绍了如何在不缩放的情况下更改blob字段原始大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个报告,显示数据库中的图像(blob)。关于以原始大小显示图像,一切正常。

当我将blob字段拖放到水晶报表上时,它会获得"原始大小"。一平方英寸。因此,图像出现的部分的最小高度为1英寸。当图像小于一英寸时,该部分仍然会在报告上消耗一英寸的垂直空间。当我更改blob字段的大小时,它会导致图像缩放,总是。

如何更改blob字段的原始大小以便该部分在不导致图像缩放的情况下消耗尽可能少的空间?

例如,我有5个高度为24像素(.33英寸)的图像。每个图像都显示在自己的部分中。由于Crystal Reports将原始尺寸设置为1英寸,因此每个部分都高一英寸。因此,显示图像的报告部分是5英寸高加垂直边距。

截图
格式编辑器对话框 - 原始大小
格式编辑器对话框 - 导致缩放

I have a report that displays images (blob) from a database. Everything works fine with regards to displaying the images in their native size.

When I drag and drop the blob field onto the crystal report it gets an "original size" of one inch square. Because of this, the section that the images appear in have a minimum height of one inch. When an image is smaller than one inch, the section still consumes one inch of vertical space on the report. When I change the blob field's size it causes the image to be scaled, ALWAYS.

How do I change the original size of the blob field so that the section consumes as little space as necessary without causing the image to be scaled?

For example, I have 5 images that have a height of 24 pixels (.33 inches). Each image appears in its own section. Each section is one inch tall due to Crystal Reports setting the original size to one inch. Therefore, the portion of the report that displays the images is 5 inches tall plus vertical margins.

screenshots
Format Editor dialog - Original Size
Format Editor dialog - Causes Scaling

推荐答案

[保持活跃]
[keep alive]


这篇关于如何在不缩放的情况下更改blob字段原始大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆