Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 10 2015 22:41

    arocketman on revert-11-zip_fileio

    (compare)

  • Feb 10 2015 22:41

    arocketman on revert-12-revert-11-zip_fileio

    (compare)

  • Jan 02 2015 12:49

    arocketman on master

    Update README.md (compare)

  • Dec 23 2014 11:39

    arocketman on v1.0

    (compare)

  • Dec 22 2014 11:01
    arocketman closed #6
  • Dec 22 2014 11:01

    arocketman on master

    Issue #6 (compare)

  • Dec 22 2014 10:48
    arocketman closed #15
  • Dec 22 2014 10:48

    arocketman on master

    Issue #15 Merge branch 'master' of https:… (compare)

  • Dec 21 2014 21:33
    arocketman closed #9
  • Dec 21 2014 20:22

    arocketman on master

    ZIP IO unit test added Merge pull request #17 from mca… (compare)

  • Dec 21 2014 20:22
    arocketman closed #17
  • Dec 21 2014 16:00
    mcaverly opened #17
  • Dec 21 2014 15:40
    arocketman commented #15
  • Dec 21 2014 11:15
    arocketman commented #9
  • Dec 21 2014 11:13

    arocketman on master

    Added constant for 'urlpadimage… (compare)

  • Dec 21 2014 11:05

    arocketman on master

    Missed a File.separator in prev… (compare)

  • Dec 21 2014 10:59
    arocketman commented #9
  • Dec 21 2014 10:54
    arocketman closed #13
  • Dec 21 2014 10:53

    arocketman on master

    Fixed paths issues and some zip… (compare)

  • Dec 21 2014 10:53
    arocketman closed #16
Andrea Capuano
@arocketman
Saving the URL takes a while because the java-fx webview is launched to take a snapshot.
well, the saving itself is instantaneous, but the image is loaded after few secs.
Ryan Gilera
@Daytron
Saves to where? Text file?
Andrea Capuano
@arocketman
json file as soon as you hit save.
Ryan Gilera
@Daytron
Oh cool
Andrea Capuano
@arocketman
There is a bug that images are saved anyway and I'll have to solve that, it's issue #3 basically.
Ryan Gilera
@Daytron
I'll have a look tomorrow.
I really like this project looks handy.
Andrea Capuano
@arocketman
Ah, thanks :) . I am willingful to bring it even as a web-service which is of course compatible with the app.
But that's a future plan, I really want to get into web-development, lots of work there.
Ryan Gilera
@Daytron
:)
Ryan Gilera
@Daytron
What is the image being save? Screenshot?
Andrea Capuano
@arocketman
yup.
Centered screenshot.
            BufferedImage renderedImage = SwingFXUtils.fromFXImage(snapshot, null);
            //Some math to get a little better thumbnail. Starting x is at 1/4 of the totale page. Goes for a width of half of the screen size to attempt and get the 'core' of the content.
            renderedImage = renderedImage.getSubimage((int)(screenSize.getWidth() /4),0,(int)( screenSize.getWidth()  / 2 ),(int) screenSize.getHeight() / 2);
            saveImage(padPath, fileName, renderedImage);
commenting out that third code line I pasted out would result in a full screenshot.
Ryan Gilera
@Daytron
You save url in a list on a json file, what is screenshot for?
I do have similar function but for canvas screenshot in mine
Andrea Capuano
@arocketman
in the list you can see the url informations and a small screenshot as thumbnail.
Ryan Gilera
@Daytron
Ah
Andrea Capuano
@arocketman
Just thumbnail purposes, the json URL is actually a path to the file.
Ryan Gilera
@Daytron
Cool
Is this on java 8?
Andrea Capuano
@arocketman
yup.
Ryan Gilera
@Daytron
Great
Andrea Capuano
@arocketman
wouldn't work on previous ones.
Ryan Gilera
@Daytron
I have set my environment to 8, its cool. Unfortunately cobertura for test coverage is not yet supported.
Junit and testfx is alright for now
Andrea Capuano
@arocketman
Alright, thanks for the help mate I appreciate it .)
:)
Ryan Gilera
@Daytron
No thank you, I try to get a lot exposure, good opportunity for me to learn.
Chat you later, cheers.
Andrea Capuano
@arocketman
have a good one mate
Ashkan K
@ashkan25
Project seems to be getting popular :smile:
hello Daytron!
Ryan Gilera
@Daytron
Hello Ashkan
Andrea Capuano
@arocketman
Hey I've seen the changes :) . How is it going?
Ryan Gilera
@Daytron
It's going to be harder than it looks. :( I made a simple test for the static class. The test for GUI is nearly impossible due to user interaction outside the application. TestFX can only test within the scope of the app window/s. But I thought of a workaround to right click > copy link, we can automatically save string link straight to the clipboard to trigger the app's events. I'll have a research on how to do it.
Andrea Capuano
@arocketman
well I was planning on adding feature n #8 anyway
would that make things easier?
Ryan Gilera
@Daytron
I'll have a look at 8
Yeah that could work :)
Andrea Capuano
@arocketman
alright.. I can add it.
i have some time now, I'll work on it :)
Ryan Gilera
@Daytron
No hurry take your time, I am currently solving an issue in mine :)
just a couple more until v1.0
Andrea Capuano
@arocketman
cool.. how is your project doing?
Ryan Gilera
@Daytron
just added features that I need. It's only tests to complete
Andrea Capuano
@arocketman
nice :)
Ryan Gilera
@Daytron
You can use milestone in issue section, for your release