Jump to content

Search the Community

Showing results for tags 'PNG image transparent'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

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


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi there I'm having troubles with transparent PNGs looking pretty bad when scaled in PW. The following image has a transparent background: Original image: 59k Resized image: Quality 90 32k Resized image: Quality 95 130k Resized image: Quality 10 28k There are black shadows appearing around the edge of any transparent area that isn't fully black. This results in an unusable image, currently. It is happening on all transparent logos I'm uploading. The code I use is here... $logoOptions = array( 'quality' => 100, 'upscaling' => 0, 'cropping' => 0 ); $logoOut = "<img src='{$page->logo->size(180, 180, $logoOptions)->url}' width='180' height='180' />"; The quality setting makes no difference to the corrupting of the transparent edges. I have tried PNGs output from Illustrator and Photoshop to make sure it wan't to do with the original, and I have tried two different installations on a local and remote server, both on PHP 5.4. Is this a limitation with GD in PHP? Does anyone have any suggestions [other than convert your images to jpg ] ? Kind regards Nik
×
×
  • Create New...