Welcome! Log In Create A New Profile

Advanced
Re: Offline Parts Catalogue
avatarDecember 09, 2012 06:35PM
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.
SubjectAuthorViewsPosted
Offline Parts Catalogue eeyore1130July 26, 2012 12:47PM
Re: Offline Parts Catalogue Steffen445July 26, 2012 02:20PM
Re: Offline Parts Catalogue Willy Tschager370November 30, 2012 12:41AM
Re: Offline Parts Catalogue Chris Dee310December 02, 2012 08:36AM
Re: Offline Parts Catalogue Attachments Michael Heidemann328December 02, 2012 09:31AM
Re: Offline Parts Catalogue Willy Tschager299December 03, 2012 01:27AM
Re: Offline Parts Catalogue Michael Heidemann251December 03, 2012 09:05AM
Re: Offline Parts Catalogue Travis Cobbs292December 02, 2012 06:15PM
Re: Offline Parts Catalogue Willy Tschager297December 03, 2012 01:31AM
Re: Offline Parts Catalogue Travis Cobbs285December 03, 2012 11:51AM
Re: Offline Parts Catalogue Travis Cobbs305December 05, 2012 09:28AM
Re: Offline Parts Catalogue Roland Melkert284December 05, 2012 10:17AM
Re: Offline Parts Catalogue Travis Cobbs304December 05, 2012 10:55AM
Re: Offline Parts Catalogue Roland Melkert311December 05, 2012 12:03PM
Re: Offline Parts Catalogue Willy Tschager288December 06, 2012 11:28AM
Re: Offline Parts Catalogue Michael Heidemann347December 06, 2012 12:51PM
Re: Offline Parts Catalogue Travis Cobbs306December 06, 2012 04:56PM
Re: Offline Parts Catalogue Michael Heidemann308December 09, 2012 07:46AM
Re: Offline Parts Catalogue Travis Cobbs351December 09, 2012 06:41PM
Re: Offline Parts Catalogue Michael Heidemann325December 10, 2012 11:28AM
Re: Offline Parts Catalogue Travis Cobbs291December 10, 2012 04:27PM
Re: Offline Parts Catalogue Michael Heidemann371December 09, 2012 09:48AM
Re: Offline Parts Catalogue Travis Cobbs364December 09, 2012 06:35PM
Re: Offline Parts Catalogue Michael Heidemann375December 10, 2012 11:40AM
Re: Offline Parts Catalogue Travis Cobbs357December 10, 2012 04:40PM
Re: Offline Parts Catalogue Michael Heidemann303December 11, 2012 09:09AM
Re: Offline Parts Catalogue Travis Cobbs440December 11, 2012 10:21AM
Re: Offline Parts Catalogue Michael Heidemann302December 11, 2012 02:07PM
Re: Offline Parts Catalogue Travis Cobbs321December 11, 2012 09:37PM
Re: Offline Parts Catalogue Philippe Hurbain305December 11, 2012 10:34AM
Re: Offline Parts Catalogue Michael Heidemann646December 11, 2012 02:06PM
Re: Offline Parts Catalogue Paul Griffin282December 17, 2012 06:38PM
Re: Offline Parts Catalogue Tim Gould244December 17, 2012 06:42PM
Re: Offline Parts Catalogue Travis Cobbs273December 17, 2012 06:56PM
Re: Offline Parts Catalogue Michael Heidemann246December 18, 2012 08:49AM
Re: Offline Parts Catalogue Travis Cobbs232December 18, 2012 10:28AM
Re: Offline Parts Catalogue Michael Heidemann242December 19, 2012 08:02AM
Re: Offline Parts Catalogue Travis Cobbs214December 19, 2012 09:50AM
Re: Offline Parts Catalogue Steffen214December 19, 2012 09:52AM
Re: Offline Parts Catalogue Travis Cobbs212December 19, 2012 10:18AM
Re: Offline Parts Catalogue Steffen240December 19, 2012 10:45AM
Re: Offline Parts Catalogue Travis Cobbs240December 19, 2012 11:41AM
Re: Offline Parts Catalogue Steffen270December 22, 2012 12:55PM
Re: Offline Parts Catalogue Travis Cobbs289December 22, 2012 04:21PM
Re: Offline Parts Catalogue Travis Cobbs281December 22, 2012 11:34PM
Re: Offline Parts Catalogue Michael Heidemann282December 23, 2012 12:18AM
Re: Offline Parts Catalogue Philippe Hurbain316December 23, 2012 08:20AM
Re: Offline Parts Catalogue Michael Heidemann260December 23, 2012 08:40AM
Re: Offline Parts Catalogue Chris Dee307December 23, 2012 01:36PM
Re: Offline Parts Catalogue Travis Cobbs260December 23, 2012 06:39PM
Re: Offline Parts Catalogue Travis Cobbs258December 23, 2012 06:36PM
Re: Offline Parts Catalogue Philippe Hurbain263December 23, 2012 11:19PM
Re: Offline Parts Catalogue Travis Cobbs259December 24, 2012 12:19AM
Re: Offline Parts Catalogue Philippe Hurbain254December 24, 2012 01:34AM
Re: Offline Parts Catalogue Michael Heidemann291December 24, 2012 03:27AM
Re: Offline Parts Catalogue Travis Cobbs328December 24, 2012 03:03PM
Re: Offline Parts Catalogue Travis Cobbs282December 23, 2012 06:24PM
Re: Offline Parts Catalogue Travis Cobbs280December 21, 2012 10:41AM
Re: Offline Parts Catalogue Travis Cobbs293December 21, 2012 10:55AM
Re: Offline Parts Catalogue Michael Heidemann320December 21, 2012 11:20AM
Re: Offline Parts Catalogue Willy Tschager251December 18, 2012 11:18AM
Re: Offline Parts Catalogue Travis Cobbs278December 18, 2012 12:16PM
Re: Offline Parts Catalogue Bryan Waters292December 18, 2012 01:11PM
Re: Offline Parts Catalogue Travis Cobbs288December 18, 2012 03:42PM
Re: Offline Parts Catalogue Don Heyse427April 20, 2013 11:55AM



Sorry, only registered users may post in this forum.

Click here to login