density
This commit is contained in:
parent
f8971f6ba0
commit
5aa12a48a9
2
fpdf.go
2
fpdf.go
|
@ -3682,7 +3682,7 @@ func be16(buf []byte) int {
|
|||
|
||||
func (f *Fpdf) newImageInfo() *ImageInfoType {
|
||||
// default dpi to 72 unless told otherwise
|
||||
return &ImageInfoType{scale: f.k, dpi: 72}
|
||||
return &ImageInfoType{scale: f.k, dpi: f.density}
|
||||
}
|
||||
|
||||
// parsejpg extracts info from io.Reader with JPEG data
|
||||
|
|
Loading…
Reference in New Issue
Block a user