View Single Post
Old 02-04-2010, 05:18 PM   #630
Kolenka
<Insert Wit Here>
Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.
 
Kolenka's Avatar
 
Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
Quote:
Originally Posted by badbob001 View Post
I'm not exactly sure what you are doing. The dr800x doesn't support .CBZ so what type of file are you ultimately trying to view on the device? A CBZ is simply a zipped file of images. If you say you took an image from an ePub, put it into the Images folder, and it looked fine, wouldn't an image taken from the CBZ and put into the same Images folder look the same?

I don't think the DR800x even has .ZIP support (a .cbz is a .zip file with the extension renamed), unlike the Kindle, which is reported to be able to view images from a .zip file. I'm guessing you're converting the .cbz content into a PDF and what you are seeing are the margins of the document.
Converting it to ePub, should have mentioned that (although the mentions of CSS are a bit of a give-away here). I'd personally hold off on the lecture about how stuff works when the other poster gives blatant hints as to their technical level, it saves time.

What's happening is this:

- Image from CBZ copied to images folder: displays fine.
- Image from converted ePub (Calibre or my own tool) into images folder: displays fine.
- ePub from either Calibre or my tool on iRex: image is forcibly rescaled.
- ePub from either tool on Sony 900/505: displays fine, with my CSS experiment even formatting the page correctly (horizontal and vertical centering of the image, regardless of the image's aspect ratio using one bit of CSS with the screen's usable pixel rectangle).

So the jist of the problem is that the emulator seems to be overriding the CSS telling it how to render images, and downscaling them to a certain fixed size, no matter what the CSS/XHTML is telling it to do. I was curious if the real device has the same bug or not (and yes, it is a bug).

Last edited by Kolenka; 02-04-2010 at 05:20 PM.
Kolenka is offline   Reply With Quote