Adding an image adds two blank pages?? #415

Closed
joemsak opened this Issue Oct 18, 2012 · 2 comments

Comments

Projects
None yet
1 participant
@joemsak

joemsak commented Oct 18, 2012

I'm using the git / master branch of Prawn and when I insert the image in "logo" the document suddenly has 2 blank pages at the top

If I remove the image the problem goes away.

Also, the image appears blurred (possibly stretched) no matter what size options I pass it

Gist of my Document class:
https://gist.github.com/46b694b387a0f8650dc6

@joemsak

This comment has been minimized.

Show comment Hide comment
@joemsak

joemsak Oct 18, 2012

Actually it appears if the image is wider than 160px or so (or if I set the width larger than that), THEN it adds the 2 pages. But if I hold my image width down to 150 (from its original 200) it looks fine and the 2 blank pages are gone

joemsak commented Oct 18, 2012

Actually it appears if the image is wider than 160px or so (or if I set the width larger than that), THEN it adds the 2 pages. But if I hold my image width down to 150 (from its original 200) it looks fine and the 2 blank pages are gone

@joemsak

This comment has been minimized.

Show comment Hide comment
@joemsak

joemsak Oct 18, 2012

I guess it just gets easily confused about things it can't fit very well, and it's on me to make adjustments by eye?

joemsak commented Oct 18, 2012

I guess it just gets easily confused about things it can't fit very well, and it's on me to make adjustments by eye?

@joemsak joemsak closed this Oct 18, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment