phantomjs icon indicating copy to clipboard operation
phantomjs copied to clipboard

renderBase64 does not take a 'quality' parameter

Open peller opened this issue 12 years ago • 19 comments

I'd like to be able to generate smaller payloads for my JPEGs by using quality ~50. renderBase64() does not accept a quality parameter like render() does. This is critical for network performance.

peller avatar Aug 19 '14 14:08 peller

+1

daniel-adlantic avatar Sep 10 '14 14:09 daniel-adlantic

This would be very useful to be able to control the file size

dhendo avatar Sep 26 '14 07:09 dhendo

+1

raphdg avatar Oct 23 '14 11:10 raphdg

+1

thebitguru avatar Dec 18 '14 02:12 thebitguru

+1

diegoaraos avatar Feb 19 '15 11:02 diegoaraos

+1

grippy avatar Feb 19 '15 19:02 grippy

+1

HendrikRoth avatar Jul 09 '15 11:07 HendrikRoth

@henn1nk Hopefully the PR for this and the related one to add rendering to a Buffer (https://github.com/ariya/phantomjs/pull/13345) will be merged soon.

dhendo avatar Jul 09 '15 12:07 dhendo

@ariya i see there is a pull in for this, any chance of movement on this? i see there is a pull in https://github.com/ariya/phantomjs/issues/13015

any way i can help?

mcgoooo avatar Jul 17 '15 13:07 mcgoooo

Really would like to see this

zackify avatar Aug 03 '15 06:08 zackify

:+1:

alekbarszczewski avatar Sep 28 '15 19:09 alekbarszczewski

:+1:

flesler avatar Oct 20 '15 14:10 flesler

Any news on this on this? :-)

alecoronel avatar Nov 11 '15 15:11 alecoronel

I realized the quality is fine. If your image seems pixelated, bump up the width and height of the browser. That helped me. On Wed, Nov 11, 2015 at 10:03 alecoronel [email protected] wrote:

Any news on this on this? :-)

— Reply to this email directly or view it on GitHub https://github.com/ariya/phantomjs/issues/12474#issuecomment-155805533.

zackify avatar Nov 11 '15 16:11 zackify

+1

ghost avatar Nov 12 '16 18:11 ghost

+1

ghisguth avatar Feb 14 '17 19:02 ghisguth

+1

marcdibold avatar Feb 21 '17 10:02 marcdibold

+1

gauravkul avatar Aug 08 '17 09:08 gauravkul

Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

stale[bot] avatar Dec 28 '19 13:12 stale[bot]