Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
537 views
in Technique[技术] by (71.8m points)

textbox - Visio save as JPEG creating larger image

enter image description here

I have created the two images above in Visio (16.0.13426.20270) 32 bit. The yellow rectangles in the back are 6Wx6H I select the text box, the image, and the yellow rectangle, then save as JPEG.

The resultant image with the text at the bottom saves larger (6Wx6.266H) than the image with the text at the top (6Wx6H).

If I move the text at the bottom up further, I can save the image as 6Wx6H, so there is something causing the bottom of the text box to extend further than is visually being indicated. I have deleted everything after HAPPY. I copied everything from the image that works to create the image that doesn't. I have reviewed the EFFECTS to ensure there are no shadows, etc. Selecting everything in the text box does not reveal anything that extends beyond the visible text box selection, nor beyond the yellow rectangle, but something is.

Does anyone know why this occurring and how to stop it?

question from:https://stackoverflow.com/questions/65646575/visio-save-as-jpeg-creating-larger-image

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

My work around was to copy and paste the textbox as an image, crop it, and then save it all as a JPEG, which worked fine.

Interestingly, next day, when I reopened the original Visio, the text box selection border was much larger than originally displayed, extending beyond the yellow 6Wx6H rectangle, but I was able to select all and save as a JPEG, at identical 6Wx6H sizes.

So my conclusion is that I was encountering a bug of some kind, although I wasn't able to immediately replicate it. Challenge for another day.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...