I hereby claim:
- I am justincarlson on github.
- I am justin_carlson (https://keybase.io/justin_carlson) on keybase.
- I have a public key ASDrgz25LvQ92CXw6L0nmg1DRTDgSpBBQcHlwmkk98pesQo
To claim this, I am signing this object:
<?php | |
function ScaleToJpg($src,$width,$height,$dest) { | |
$im = new \Imagick($src); | |
$im->setImageCompression(\Imagick::COMPRESSION_JPEG); | |
$im->setImageCompressionQuality(100); | |
$im->stripImage(); | |
$im->setInterlaceScheme(\Imagick::INTERLACE_PLANE); | |
$size = $im->getImageGeometry(); |
<?php | |
// Sample code to evaluate the sharpness of an image in PHP | |
// @author https://pastebin.com/u/ossifrage | |
// Note: this code has not been thoroughly tested, and does not | |
// perform any kind of input validation. Please don't run this | |
// on your website and then complain when someone uses it to | |
// break your server. |
<?php | |
** | |
* Estimate image sharpnes based on color | |
* similarity in pixels in a grid. | |
* | |
* @param Imagick $img | |
* @return float | |
*/ | |
function GetImageSharpness($img) |
-- table settings | |
declare @decorate int = 0 | |
declare @tableName varchar(200) = 'Foo' | |
declare @database varchar(200) = 'Bar' | |
-- scripts vars | |
declare @columnName varchar(200) | |
declare @nullable varchar(50) | |
declare @datatype varchar(50) |
I hereby claim:
To claim this, I am signing this object:
<div class="image-wrapper"> | |
<div class="image-container"> | |
<img src="https://www.tyndellphotographic.com/assets/images/products-large/8844cf7c81c27a17ab0d721d38b4aeff.jpg" alt="Sample image"> | |
</div> | |
</div> | |
<style type="text/css"> | |
.image-wrapper { | |
background-color: #fff; | |
height: 500px; |