Giter Site home page Giter Site logo

tafoca / webpage-screenshot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buckyroberts/webpage-screenshot

0.0 2.0 0.0 283 KB

JavaFX program that allows you to enter the URL of a webpage and it takes a screenshot.

Home Page: https://thenewboston.com/

Java 100.00%

webpage-screenshot's Introduction

Overview

Webpage Screenshot is a JavaFX program that lets you to enter the URL of a webpage and it will take a screenshot and save it as a .png image.

To build a .jar file

Follow these steps to build the .jar file in Intellij.

  • File > Save All.
  • Run driver or class with main method.
  • File > Project Structure.
  • Select Tab "Artifacts".
  • Click green plus button near top of window.
  • Select JAR from Add drop down menu. Select "From modules with dependencies"
  • Select main class.
  • The radio button should be selecting "extract to the target JAR." Press OK.
  • Check the box "Build on make"
  • Press apply and OK.
  • From the main menu, select the build dropdown.
  • Select the option build artifacts.

Usage

To use from the command line, pass in the file name (for the output image) and URL as the first and second argument

java -jar Capture.jar homepage https://thenewboston.com/

Also, you must have a folder called "images" in the same directory where the Capture.jar file is saved. This is where the final images will be saved.

webpage-screenshot's People

Contributors

buckyroberts avatar

Watchers

James Cloos avatar Tabueu Fotso Laurent Cabrel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.