CREATE EXTENSION pg_image; CREATE TEMPORARY TABLE imgtest ( x TEXT, y IMAGE ); -- Insert a PNG. INSERT INTO imgtest (x, y) VALUES ('malloc-logo.png', 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAENElEQVR42u2bbUhTURjH/2tK091N08yWEVS+m1FkkZaZvUgfyjAMLKOVH7KijCwIqaCg/FAZFRQZRCSsEgbG+hJRhGlKaRlpW1pBRG+mrrnNWuiwL71QnNvu3T23nbH7fDzsPjvnf87zPL9zzr2qleu2jCKEbQxC3BQBFAEUARQBFAFC2cL8eWj2zHTkzs9CRkoiOE4LvY4LSOedLjfc7iE8636JptZ2dHRaRftQiQGhKQkG7NyyEalJ05icTVvPK5y5UIe37z/SD4EZaUk4dngfs4MHgLTk6Th+eB8yUpPoCpBgiMf+yu3QRkYwH9OcNhL7K7fBEB9HT4DKbZvBaSODJrHpOC12lW+iI8CsGWlITpwadNk9IzURM9NTpFeB3OwsYvvIiBcmswWNLQ/R128PyCDjxscgL2ceSosLERamJvb9qbVbmgB8CcVktsBsuRnQWe7rt//qg7GkiND3ZOkhEDMuith+514rM8udry+xMdHSQyBCoyG2f3YM+g1OpeV7yKuqtsYvsOHrS2SERh4SlAuc9DoOeh2HSYZ4LF+8wC+wYWYvQAOc/AEbJgSgCU5iwYYJAWiDkxiwCbgAcoGTULAJuAD/AqfL1xpQVlHF+2xZRRUuX2vAyIhXlO//fh4gFzjRAJuArwAa4CQFbAIuAA1wkgI2zHBAsJhyKErDiVqtRmlxIfJy5vJumcVaWUUVcat78XQ1GlvaYDJb4PV62RCgtLgQa1evoLpl5qsIE+Jif/zXKOrqr7MRAksXZcu2ZebzsXRRDjs5QKUit4+OSn/1QBUMSfB2I3mWluVJn6UlvKurhZ0kaDJbAAAF+QsQpdf9kRsA4NbdZjhdblE+9ToOBfkLf/n4aYNOF27dvQ+T+QY7Ani9XtTVN6CuvgE3rtT+dh6mhrGkCMaSIqxaXy5O1NoaYvuGrXsVDlAEYFkAj+cbsT06Si98QxVN3lB9+ephX4CBzw7JFYEv8w/YHeyfBzx7/gIJhngiLfqqCHyZ/7fvHvZXQFNrO1npHxWBL7v/zPzGkiLiNde/fDMlwJMuG5502ah39PFTq897PmaqwPlLV+Ee+kLNn8s9hPOXrgRPGXz3oRdHT56Dyz0k2ZfT5caRmnP40NsXXBzQZXuB3QeqJYVDR6cVlQeqYe1+yfaBCJ/1furHwepTmJ2ZjtzsLGSmpyCW59AUAIaHhzFgd6DT1oN7LW2y5BLRAng836DRjCWCjWPQKXgmhdz0rjHu8GsQUsDJZwjQABu5TQo4+VwBUsBGbqMBTj4FaGptR0H+Ql6wId3gsGJCwMlnCMgFNnKbUHASVAZpg43cJgacBAlAE2zkNrHgpE7OnHNIyA8/9dvR/OARpkyehIkT4pgcfEenFUdOnMXrN+8EP6Py57O5v8EmPDw8IAOmAU4q5bvBEDdFAEUARQBFAEWAULbvZJbCev0cOTsAAAAASUVORK5CYII='::image); -- Insert a JPEG (and test that we can include whitespace/newlines). INSERT INTO imgtest (x, y) VALUES ('kiwidrew.jpg', 'data:image/jpeg;base64, /9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgK CgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkL EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAAR CACAAIADASIAAhEBAxEB/8QAHgAAAQQDAQEBAAAAAAAAAAAACAUGBwkAAwQCAQr/xAA+EAAB AwIFAgQEAwYFAwUAAAABAgMEBREABgcSIQgxEyJBURQyYXEJFZEjM0JSgYJicqGi8BYYwVNj krHR/8QAGwEAAgMBAQEAAAAAAAAAAAAAAwQBAgUGAAf/xAAvEQABA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bjZIJ5UO+IZG+VwYwXPZZkszRd7zYJ35mzNQsl5fqGac zVNin0mlsKkypLyrIabSOSff6AckkAcnFNPVT1E1jqN1IdzGvxY2X6YFxKFBWf3Mfdy4odvE cIClewCU8hIOOzql6xc99R1YXTUlyi5LiO74FFQ5y4R2ekqHDjnqB8qL2Tc3Uof1SrENoSd3 r6hIx32B4L4Hz5/Wdh0/1cZi2J+M8mL0j7/4tzxLhU22TZPzn/wMebjaAlIFvQY+IeS35R8v P3JxiVG1rWBx0myw7L//2Q=='::image); -- Test accessor methods SELECT x, width(y), height(y), filesize(y), mimetype(y), md5(imagedata(y)) FROM imgtest ORDER BY x; -- Test re-encoding to data: URI SELECT x, y::text FROM imgtest ORDER BY x;