mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-12-26 10:07:29 +00:00
6.0.049 (2013-11-27)
- A bug related to PNG images was fixed.
This commit is contained in:
parent
b9c8ff7302
commit
3cd2637a80
@ -1,3 +1,6 @@
|
||||
6.0.049 (2013-11-27)
|
||||
- A bug related to PNG images was fixed.
|
||||
|
||||
6.0.048 (2013-11-24)
|
||||
- SVG vars are now reset in ImageSVG() method.
|
||||
|
||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
||||
------------------------------------------------------------
|
||||
|
||||
Name: TCPDF
|
||||
Version: 6.0.048
|
||||
Release date: 2013-11-24
|
||||
Version: 6.0.049
|
||||
Release date: 2013-11-27
|
||||
Author: Nicola Asuni
|
||||
|
||||
Copyright (c) 2002-2013:
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tecnick.com/tcpdf",
|
||||
"version": "6.0.048",
|
||||
"version": "6.0.049",
|
||||
"homepage": "http://www.tcpdf.org/",
|
||||
"type": "library",
|
||||
"description": "TCPDF is a PHP class for generating PDF documents.",
|
||||
|
@ -55,7 +55,7 @@ class TCPDF_STATIC {
|
||||
* Current TCPDF version.
|
||||
* @private static
|
||||
*/
|
||||
private static $tcpdf_version = '6.0.048';
|
||||
private static $tcpdf_version = '6.0.049';
|
||||
|
||||
/**
|
||||
* String alias for total number of pages.
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
//============================================================+
|
||||
// File name : tcpdf.php
|
||||
// Version : 6.0.048
|
||||
// Version : 6.0.049
|
||||
// Begin : 2002-08-03
|
||||
// Last Update : 2013-11-24
|
||||
// Last Update : 2013-11-27
|
||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||
// -------------------------------------------------------------------
|
||||
@ -6918,7 +6918,7 @@ class TCPDF {
|
||||
$newimage = false;
|
||||
// get existing image data
|
||||
$info = $this->getImageBuffer($file);
|
||||
if (substr($file, 0, -34) != K_PATH_CACHE.'msk') {
|
||||
if (strpos($file, '__tcpdf_imgmask_') === FALSE) {
|
||||
// check if the newer image is larger
|
||||
$oldsize = ($info['w'] * $info['h']);
|
||||
if ((($oldsize < $newsize) AND ($resize)) OR (($oldsize < $pixsize) AND (!$resize))) {
|
||||
|
Loading…
Reference in New Issue
Block a user