It works. Make screenshots. But make it like any sharpen artefacts. Why? Maybe because wkhtmltoimage running without X? Where try get information? How to smooth screenshot via wkhtmltoimage?
This Firefox and Chromium 800x420: http://s18.postimg.org/xff896gsp/Screenshot_10.png
And this wkhtmltoimage 800x420:http://s9.postimg.org/auikf44st/Screenshot_11.png
Problem solved.
Im used: wkhtmltoimage 0.10.
Trying use newest version: wkhtmltoimage 0.12 - it works, images not sharpen, but failed stretch background images (-webkit-background-size: cover).
And perfect works: wkhtmltoimage 0.11 (static library amd64)
Related
I am currently using Tensorflow on Linux, and when I launch tensorboard and go to the localhost using Firefox, I am only able to see what's enclosed in the image. I am unable to interact with anything, and the whole thing is unresponsive. How do you think I might be able to fix this?
Tensorboard Window
I'm making an application with WebVR using React VR. I'll test the application with my Oculus Rift and HTC-Vive. I'm using the browser Firefox Nightly to access the WebVR API's.
If I browse to my application using Firefox Nightly or Chromium, I arrive in an empty space with a loading message. A few seconds later I got this message on my Oculus Rift:
Sorry, firefox.exe/chrome.exe is taking a while to load. If this issue persists, please take off your headset and check this app on your computer.
On the HTC-Vive I got this message in Steam VR but it doesn't load at all.
(unresponsive) firefox.exe/chrome.exe
In the webbrouwser, I got the result I must see inside the headset with motion tracking.
I'm using this browsers
Version Firefox nightly: 55.0a1
Version Chromium: 56.0.2910.0
And this are my specifications:
GeForce: GTX 970
GeForce Game Ready Driver: 378.66
Processor: Intel® Core™ i7-6700 CPU # 3.40GHz
RAM: 15.87 GB
This isn't the Oculus software at all. The problem is an NVIDIA driver update that broke everything. You need to go to the NVIDIA site and download drivers from the "376" generation (Dec'16-Feb'17). Install those and the problems go away. I confirmed that things are working with Oculus 1.12, 1.14, and 1.14 beta channel.
It looked like Oculus broke things because 1.14 came out on almost the same day as the "381" NVidia driver update.
Downgrading my Nvidia driver to 376 worked as a charm for me, but I can't run the VR scenes on Nightly, just on Chromium.
I was able to get my Oculus to work with WebVR by enabling the Beta channel within the oculus app and letting it install an update. Seems like the current Oculus version might be broken.
Try installing SteamVR. SteamVR overrides the Oculus runtime and runs applications on its own.
Try closing Oculus Home before you launch your WebVR application using the WebVR button.
Make sure you are not in the Beta/Dash mode in Oculus
Try to disable the auto-opening of Oculus Home. Oculus home opens automatically on wearing the rift. To disable, select “Run as admin” field in the properties of the Oculus app. More specifically, go to /Oculus-Directory/Support/oculus-client/OculusClient, right click, select properties, check “Run as Administrator”.
Make sure that your Desktop and Rift are connected to the same Graphic card. You might need an HDMI to DVI converter for the same. This is what fixed the problem for me.
Are there any open source APIs out there can can remove a background from an image automatically as soon as a photo is taken?
To remove the background from an image you need an image processing or computer vision library.
OpenCV offers a lot of functionality to manipulate images and offers libraries for iOS and Android.
Here is an example of how a background subtraction can be achieved.
There are also other possibilities to achieve this.
For iOS i found an example using Quartz2D (Masking an Image with Color):
https://developer.apple.com/library/ios/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_images/dq_images.html
and for Android:
https://xjaphx.wordpress.com/2011/09/28/image-processing-pixel-color-replacement/
Remove.bg Seems to work really well. For free you can get 50 calls per months, you have to pay if you want more.
There is this program, https://github.com/nadermx/backgroundremover which is free and open source, and you can install via pip
pip install --upgrade pip
pip install backgroundremover
Then just script it to do
backgroundremover -i "/path/to/image.jpeg" -o "output.png"
source: author of the project
as far as I know casperJS & phantomJS don't support flash anymore. Is there any possilibty to fake the Flashsupport in capserJS, so I don't get any warnings that flash isn't running etc...
Would be nice if someone would have a pointer
I was able to achieve flash support only when started using old version of phantomjs 1.4.0
I am trying to html to pdf on mac osx. I write this command,
$ wkhtmltopdf --header-center "google" http://www.google.com google.pdf
but I saw the error,
The switch --header-center, is not support using unpatched qt, and will be ignored.Loading page (1/2)
Printing pages (2/2)
Done
What is the problem? How should I fix?
Install Qt from https://code.google.com/p/wkhtmltopdf/wiki/compilation yourself. Hopefully this will do.