function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JvVoorstJvVoorst 

Crisp graphics in VF E-mail render as PDF

 Hi,

We use a VF e-mail that renders as PDF. I want the included graphics (logo) stay sharp (crisp edges) in every situation. So allso when the PDF is shown in 200%. Now I use PNG. This only looks good in 100% view. When enlarged it get's fuzzy/jagged edges. SVG format is not supported.

Any ideas on this?
Gaurav NirwalGaurav Nirwal
<apex:repeat value="{!Opportunity.OpportunityLineItems}" var="line">
      <tr>
         <td>{!line.PricebookEntry.Name}</td>
         <td>{!line.Description}</td>
         <td ALIGN="center">

        **<img src='{!line.ProductImage__c}'/>**

          </td>            
         <td>{!line.Quantity}</td>
         <td><apex:OutputField value="{!line.UnitPrice}"/></td>
         <td><apex:OutputField value="{!line.TotalPrice}"/></td>
      </tr>
   </apex:repeat>