func ExampleFpdf_Image() {
	pdf := gofpdf.New("P", "mm", "A4", "")
	pdf.AddPage()
	pdf.SetFont("Arial", "", 11)
	pdf.Image(example.ImageFile("logo.png"), 10, 10, 30, 0, false, "", 0, "")
	pdf.Text(50, 20, "logo.png")
	pdf.Image(example.ImageFile("logo.gif"), 10, 40, 30, 0, false, "", 0, "")
	pdf.Text(50, 50, "logo.gif")
	pdf.Image(example.ImageFile("logo-gray.png"), 10, 70, 30, 0, false, "", 0, "")
	pdf.Text(50, 80, "logo-gray.png")
	pdf.Image(example.ImageFile("logo-rgb.png"), 10, 100, 30, 0, false, "", 0, "")
	pdf.Text(50, 110, "logo-rgb.png")
	pdf.Image(example.ImageFile("logo.jpg"), 10, 130, 30, 0, false, "", 0, "")
	pdf.Text(50, 140, "logo.jpg")
	fileStr := example.Filename("Fpdf_Image")
	err := pdf.OutputFileAndClose(fileStr)
	example.Summary(err, fileStr)
	// Output:
	// Successfully generated pdf/Fpdf_Image.pdf
}
// ExampleFpdf_Image demonstrates how images are included in documents.
ExampleFpdf_Image demonstrates how images are included in documents.
// ExampleFpdf_Image demonstrates how images are included in documents .
func ExampleFpdf_Image() {
	pdf := gofpdf.New("P", "mm", "A4", "")
	pdf.AddPage()
	pdf.SetFont("Arial", "", 11)
	pdf.Image(example.ImageFile("logo.png"), 10, 10, 30, 0, false, "", 0, "")
	pdf.Text(50, 20, "logo.png")
	pdf.Image(example.ImageFile("logo.gif"), 10, 40, 30, 0, false, "", 0, "")
	pdf.Text(50, 50, "logo.gif")
	pdf.Image(example.ImageFile("logo-gray.png"), 10, 70, 30, 0, false, "", 0, "")
	pdf.Text(50, 80, "logo-gray.png")
	pdf.Image(example.ImageFile("logo-rgb.png"), 10, 100, 30, 0, false, "", 0, "")
	pdf.Text(50, 110, "logo-rgb.png")
	pdf.Image(example.ImageFile("logo.jpg"), 10, 130, 30, 0, false, "", 0, "")
	pdf.Text(50, 140, "logo.jpg")
	fileStr := example.Filename("Fpdf_Image")
	err := pdf.OutputFileAndClose(fileStr)
	example.Summary(err, fileStr)
}
func ExampleFpdf_Image ( ) { pdf := gofpdf . New ( " " , " " , " " , " " ) pdf . AddPage ( ) pdf . SetFont ( " " , " " , 11 ) pdf . Image ( example . ImageFile ( " " ) , 10 , 10 , 30 , 0 , false , " " , 0 , " " ) pdf . Text ( 50 , 20 , " " ) pdf . Image ( example . ImageFile ( " " ) , 10 , 40 , 30 , 0 , false , " " , 0 , " " ) pdf . Text ( 50 , 50 , " " ) pdf . Image ( example . ImageFile ( " " ) , 10 , 70 , 30 , 0 , false , " " , 0 , " " ) pdf . Text ( 50 , 80 , " " ) pdf . Image ( example . ImageFile ( " " ) , 10 , 100 , 30 , 0 , false , " " , 0 , " " ) pdf . Text ( 50 , 110 , " " ) pdf . Image ( example . ImageFile ( " " ) , 10 , 130 , 30 , 0 , false , " " , 0 , " " ) pdf . Text ( 50 , 140 , " " ) fileStr := example . Filename ( " " ) err := pdf . OutputFileAndClose ( fileStr ) example . Summary ( err , fileStr ) }
ExampleFpdf_Image demonstrates how images are included in documents.
ExampleFpdf_Image demonstrates how images are included in documents .
// Output: // Successfully generated pdf/Fpdf_Image.pdf