Offline Parts Catalogue


Re: Offline Parts Catalogue
#20
I'm using similar logic to what Chris Dee uses on LDraw.org to generate autocropped pictures with consistent zoom factor. I use 512x512 as the maximum image size, but position the camera at a set distance, so that most parts get cropped to be much smaller than 512x512. My end result is around 50MB.

Right now, I'm working on dividing the output up into a separate HTML page for each category. Having all 6000+ images in one page was causing problems in some web browsers.

Unless we can come up with a way to nicely paginate the results, combining everything into a single PDF isn't really useful. Having said that, Adobe Reader shouldn't have any problems viewing such a file, no matter how big. It doesn't load everything into memory up front as far as I know. In fact, I have an option in my script to generate all the images twice as big, then show them in the HTML page at 50% scale so that they will look nicer in the PDF. Since I'm not generating a PDF, I'm not using that option, although I suppose it would also produce really cool results on Apple devices with Retina displays.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Offline Parts Catalogue - by eeyore - 2012-07-26, 19:47
Re: Offline Parts Catalogue - by Steffen - 2012-07-26, 21:20
Re: Offline Parts Catalogue - by Chris Dee - 2012-12-02, 16:36
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-03, 19:51
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-05, 17:28
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-05, 18:55
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-10, 2:35
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-11, 18:21
Re: Offline Parts Catalogue - by Tim Gould - 2012-12-18, 2:42
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-18, 18:28
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-19, 17:50
Re: Offline Parts Catalogue - by Steffen - 2012-12-19, 17:52
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-19, 18:18
Re: Offline Parts Catalogue - by Steffen - 2012-12-19, 18:45
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-19, 19:41
Re: Offline Parts Catalogue - by Steffen - 2012-12-22, 20:55
Re: Offline Parts Catalogue - by Chris Dee - 2012-12-23, 21:36
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-24, 23:03
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-21, 18:41
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-21, 18:55
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-18, 20:16
Re: Offline Parts Catalogue - by Bryan Waters - 2012-12-18, 21:11
Re: Offline Parts Catalogue - by Travis Cobbs - 2012-12-18, 23:42
Re: Offline Parts Catalogue - by Don Heyse - 2013-04-20, 18:55

Forum Jump:


Users browsing this thread: 5 Guest(s)