Twokinds available in CBZ, PDF and ZIP format

The comic stuff here.

Moderators: avwolf, Tom

Message
Author
Traveler
Posts: 18
Joined: Sun Mar 16, 2014 9:51 am

Re: Twokinds available in CBZ, PDF and ZIP format

#31 Post by TraLi » Mon Jun 02, 2014 6:41 pm

Yep, Chapter 3 works now, both on desktop and mobile. The test link filenames are truncated where the comma should be, so I guess it's a quoting issue? Chapter 5 and 6 (part 1) are good now too. Thanks again!

I commend your... work ethic? Shoot, I'm not sure, but I'm really impressed that you're maintaining a changelog and with your responsiveness to feedback. :)

Citizen
Posts: 58
Joined: Sat Nov 30, 2013 10:51 pm

Re: Twokinds available in CBZ, PDF and ZIP format

#32 Post by Thebestofrobin » Mon Jun 02, 2014 6:55 pm

TraLi wrote:Yep, Chapter 3 works now, both on desktop and mobile. The test link filenames are truncated where the comma should be, so I guess it's a quoting issue? Chapter 5 and 6 (part 1) are good now too. Thanks again!

I commend your... work ethic? Shoot, I'm not sure, but I'm really impressed that you're maintaining a changelog and with your responsiveness to feedback. :)
Thank you for the kind words I appreciate them :)

Most of what I do is from personal prefferences.
The changelog is to show what changes are made and when so there is a way to determine if it's still maintained.
That's also why I added the file update time.
I also want to fix problem as soon as posible.
And give people what they want if it's within my capabilities.

And a small plus is that I get to experiment with techniques to see if they work :D.
I've made a change in the way I generate each PDF and ZIP.
Useally they where generated in sequence.
So when 1 finished the next one would start until they where all generated.
Then I realised I can generate every PDF and ZIP at the same time useing background processes.
That way more CPU cores are used at the same time to do the work in stead of 1.
That way it's faster to generate the PDF's and ZIP's :D.
That is something where I get my thrills out of.
Realising something and then make it happen and see the results :D.

So in short I kinda injoy messing around with code from time to time :).
And if I can provide something usefull for other people to enjoy it gives a fulfilling feeling :).

Citizen
Posts: 58
Joined: Sat Nov 30, 2013 10:51 pm

Re: Twokinds available in CBZ, PDF and ZIP format

#33 Post by Thebestofrobin » Mon Jun 02, 2014 6:57 pm

There has been another update

* fixed: Chapter 5 had 2 pages from Chapter 6 part 1
* fixed: The first page of Chapter 6 part 1 was missing.
* fixed: Download links for Chapter 3 didn't work correctly on mobile devices.
Thanks to TraLi for letting me know and testing the link fix.
Thanks to Ardal for testing the link fix.

Let me know if there are any more problems or other stuff you would like to see being added.

Citizen
Posts: 58
Joined: Sat Nov 30, 2013 10:51 pm

Re: Twokinds available in CBZ, PDF and ZIP format

#34 Post by Thebestofrobin » Fri Jun 20, 2014 10:06 pm

There has been another update

* added: Group B CBZ, PDF and ZIP.
It was inspired by Tom with his link to the group B archive.
I've made 2 changes compared to the one Tom made.
1: Added the Chapter titel page of Chapter 16 because it has Raine in it and it looks nice :)
2: Up to date with the newest pages or group B

Citizen
Posts: 58
Joined: Sat Nov 30, 2013 10:51 pm

Re: Twokinds available in CBZ, PDF and ZIP format

#35 Post by Thebestofrobin » Mon Jul 14, 2014 5:03 pm

Felix Mage wrote:Nice, it is really helpful to be able to just download the comic pages easily.
Could you perhaps post the script?
I would really like to download some other webcomics and while I am a novice programmer I have only worked in Java and C++ so I could use the help of your script.
Glad you found it to be helpfull :).

As for releasing the script, at this point in time that wouldn't be wise to do.
The script works but then again not :P.
It does what is supposed to do but the storing of the data needs more work.

The other problem is when other people start useing it.
Because not every author will be happy (allow it) if you download there webcomic to your local computer.
It depends on the license they use.
Tom's license does allow it.
I've also checked with a moderator just to be sure.
With Jay Naylor's webcomics I've asked permission from him before I did it.

What I can do is explain the principle behind the code and the way I've automated the download process if your interested.
This may give you enough information to create your own script.

The code for generating the ZIP and PDF's are simple.
For ZIP I use the standard available functions from PHP it's self.
For PDF I use the FPDF library found here http://fpdf.org/.
For CBZ I grab the ZIP and present it as CBZ for download.

Citizen
Posts: 58
Joined: Sat Nov 30, 2013 10:51 pm

Re: Twokinds available in CBZ, PDF and ZIP format

#36 Post by Thebestofrobin » Sat Aug 09, 2014 12:18 pm

There has been another update

* changed: The PDF's now use JPEG images instead of the PNG images witch makes them smaller in size.
After some testing I found out there is no visual difference between JPEG in the PDF at 91% and PNG in the PDF at 91%.
So all chapters have been regenerated and are smaller in size because of the JPEG's.

User avatar
Council Member
Posts: 515
Joined: Sun Mar 17, 2013 8:55 pm
Location: Sol system, Orion spiral arm, Milky Way

Re: Twokinds available in CBZ, PDF and ZIP format

#37 Post by MuonNeutrino » Sat Aug 09, 2014 10:03 pm

Just FYI, I don't know if it's something on your end or on mine, but when I was downloading the PDFs I was getting some odd behavior. The files downloaded, but instead of getting files like 'Twokinds chapter whatever.pdf', I was getting files just named 'Twokinds', with no extension. They *were* actually the correct files, and they worked just fine once I renamed them, but I'm still pretty sure it's not supposed to do that. :grin: I'm using W7 64bit with firefox, if it matters.
Image

Citizen
Posts: 58
Joined: Sat Nov 30, 2013 10:51 pm

Re: Twokinds available in CBZ, PDF and ZIP format

#38 Post by Thebestofrobin » Sat Aug 09, 2014 10:15 pm

@MuonNeutrino,

Thank you for letting me know.
It looks like a Firefox only bug.
I'll look into a solution tomorrow.
It's a bit late to do it now, my apologies.

It look's like Firefox doesn't like the - in the filename.

Citizen
Posts: 58
Joined: Sat Nov 30, 2013 10:51 pm

Re: Twokinds available in CBZ, PDF and ZIP format

#39 Post by Thebestofrobin » Sun Aug 10, 2014 9:49 am

There has been another update:

* Fixed: When downloading a file with Firefox the filename was only Twokinds and not the complete filename.
Thanks to MuonNeutrino for letting me know.
My apologies to Firefox users, I should have tested it for all the major browsers.

Citizen
Posts: 58
Joined: Sat Nov 30, 2013 10:51 pm

Re: Twokinds available in CBZ, PDF and ZIP format

#40 Post by Thebestofrobin » Thu Oct 30, 2014 11:02 pm

Hello everybody,

It's been a while since there has been an update because everything is working fine as far as I know :).
But I have been tinkering with the PDF generation a bit and have found a new setting witch might work a bit better then the current one.
At least on my system.

That's why I'm asking feedback from other users before I make the change to all the existing PDF's.

If you want to check out the new PDF's they are on the bottom of the download page (http://www.robinvandevoorde.nl/twokinds/).
The new settings are:

- zoom 100%
- 110 DPI/PPI per image.

The old settings are:
- zoom 91%
- 100 DPI/PPI per image.

If I ALT+TAB quickly between the PDF's I do see a small improvement.
But as mentioned before that is on my system.
I don't know if there are any improvements on other systems or mobile devices or that the quality might actually go down.
That is why I hope you guys/girls can provide me with some feedback before every PDF is regenerated.

Thank you in advance!

User avatar
Templar Inner Circle
Posts: 2931
Joined: Wed Oct 23, 2013 11:17 pm
Location: The high country of the mind.

Re: Twokinds available in CBZ, PDF and ZIP format

#41 Post by Bellhead » Sun Jan 25, 2015 11:34 pm

While I was rereading chapter 17 today, I past the point where the 10th Anniversary Chapter would have gone. Could we perhaps get a version of chapter 17 with the anniversary chapter in the middle of it?
Gearhead in the digital world, who will probably grow up to be a very grumpy old man.

Citizen
Posts: 58
Joined: Sat Nov 30, 2013 10:51 pm

Re: Twokinds available in CBZ, PDF and ZIP format

#42 Post by Thebestofrobin » Mon Jan 26, 2015 5:16 pm

@Bellhead

According to the archive (and the complete PDF) the 10th Anniversary Chapter was after the end of chapter 16 and before chapter 17.
It is even a strange fit between those chapter because of keith going to sleep at the end of chapter 16 and waking up in chapter 17.

But if you want I can still make it I just need to know where I need to add the 10th Anniversary Chapter.

My guess would be between page 17 and 18 (16 and 17 without filler page).
And would you like it with or without filler pages?

User avatar
Templar Inner Circle
Posts: 2931
Joined: Wed Oct 23, 2013 11:17 pm
Location: The high country of the mind.

Re: Twokinds available in CBZ, PDF and ZIP format

#43 Post by Bellhead » Mon Jan 26, 2015 9:29 pm

Thebestofrobin wrote:@Bellhead

According to the archive (and the complete PDF) the 10th Anniversary Chapter was after the end of chapter 16 and before chapter 17.
It is even a strange fit between those chapter because of keith going to sleep at the end of chapter 16 and waking up in chapter 17.

But if you want I can still make it I just need to know where I need to add the 10th Anniversary Chapter.

My guess would be between page 17 and 18 (16 and 17 without filler page).
And would you like it with or without filler pages?
Personally, I'd like without, but that's just me.
Gearhead in the digital world, who will probably grow up to be a very grumpy old man.

Citizen
Posts: 58
Joined: Sat Nov 30, 2013 10:51 pm

Re: Twokinds available in CBZ, PDF and ZIP format

#44 Post by Thebestofrobin » Mon Jan 26, 2015 9:31 pm

I can do that :) so just add the anniversary chapter between the current page 16 and 17?

User avatar
Templar Inner Circle
Posts: 2931
Joined: Wed Oct 23, 2013 11:17 pm
Location: The high country of the mind.

Re: Twokinds available in CBZ, PDF and ZIP format

#45 Post by Bellhead » Mon Jan 26, 2015 9:34 pm

Thebestofrobin wrote:I can do that :) so just add the anniversary chapter between the current page 16 and 17?
More like 36 and 37, in the one without fillers. Before Flora comes down the stairs with Trace's shirt on.
"Later that night..."
Gearhead in the digital world, who will probably grow up to be a very grumpy old man.

Post Reply