Jump to content
xt:Commerce Community Forum

Search the Community

Showing results for tags 'echtem'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • xt:Commerce - Professionelle eCommerce Shopsoftware
    • Fragen zur Software
    • xt:Commerce Plugins
    • xt:Commerce 4 Sprachen
    • xt:Commerce Online Handbuch
    • Häufige Fragen (FAQ)
    • Fragen zur Software (Pre Sale)
    • Anleitungen - Patches - Downloads
  • xt:Commerce Office - Shop & Warenwirtschaft
    • Allgemeine Fragen
  • xt:Commerce Allgemein
  • xt:Commerce 3 Shopsoftware Community Area (nur Lesen)
    • Allgemeine Diskussionen
    • Installation und Konfiguration
    • Shopbereich
    • Admininterface
    • Modul Entwicklung
    • Template System
    • xt:Commerce Schnittstellen ERP Systeme
    • PHP & MysQL Forum
    • HTML & CSS

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


ICQ


Yahoo


Jabber


Skype


Location


Interests


Biografie


Wohnort


Interessen


Beruf

Found 1 result

  1. Wir verwenden als Wasserzeichen ("merge") für unsere Shop-Bilder 24-Bit PNG-Dateien die einen echten Alpha-Kanal enthalten. Die aktuelle Shopsoftware ignoriert das. Wer das beheben will, kann in v3.0.4 SP2.1 in admin/include/classes/image_manipulator_GD2.php ab Zeile 183 folgendes einfügen: if ($this->md[2] == 3) { imageAlphaBlending($this->mm, false); imageSaveAlpha($this->mm, true); @imagecopy($this->t, $this->mm, $this->xx, $this->yy, 0, 0, $this->mw, $this->mh); } else { for($this->ypo = 0; $this->ypo < $this->mh; $this->ypo++) { for($this->xpo = 0; $this->xpo < $this->mw; $this->xpo++) { $this->indx_ref = @imagecolorat($this->mm, $this->xpo, $this->ypo); $this->indx_rgb = @imagecolorsforindex($this->mm, $this->indx_ref); if(($this->indx_rgb['red'] == $this->tr) && ($this->indx_rgb['green'] == $this->tg) && ($this->indx_rgb['blue'] == $this->tb)) { // transparent colour, so ignore merging this pixel } else { @imagecopymerge($this->t, $this->mm, $this->xx+$this->xpo, $this->yy+$this->ypo, $this->xpo, $this->ypo, 1, 1, $this->mo); } } } } Vorher stand da nur: for($this->ypo = 0; $this->ypo < $this->mh; $this->ypo++) { for($this->xpo = 0; $this->xpo < $this->mw; $this->xpo++) { $this->indx_ref = @imagecolorat($this->mm, $this->xpo, $this->ypo); $this->indx_rgb = @imagecolorsforindex($this->mm, $this->indx_ref); if(($this->indx_rgb['red'] == $this->tr) && ($this->indx_rgb['green'] == $this->tg) && ($this->indx_rgb['blue'] == $this->tb)) { // transparent colour, so ignore merging this pixel } else { @imagecopymerge($this->t, $this->mm, $this->xx+$this->xpo, $this->yy+$this->ypo, $this->xpo, $this->ypo, 1, 1, $this->mo); } } }Setzt Nutzung von GD2 vorraus. Viel Spaß - vielleicht findet es ja seinen Weg in ein Release.
×
×
  • Create New...