Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 02-22-2007, 09:24 AM   #1
BACbKA
мокрец
BACbKA began at the beginning.
 
Posts: 52
Karma: 28
Join Date: Jan 2007
Location: Israel
Device: palm, iliad
predithering JPEG image for iliad

Say, I have a JPEG photo image with lots of colours. Grayscale or colour one. When I load it on Iliad it looks pretty ugly. Is there a smart color reducing / predithering linux pipeline that image gurus out there could advice? Manual tweaks in gimp are not welcome, but I can do it as a last resort. Can ImageMagick convert(1) be told about what the iliad's palette is?
BACbKA is offline   Reply With Quote
Old 02-22-2007, 10:48 AM   #2
b_k
Übernerd
b_k is on a distinguished road
 
Posts: 238
Karma: 74
Join Date: Jun 2006
Location: Germany
Device: iRex iLiad
man ImageMagick :-P

I have to say i never used IM. but this could prove helpful:

Quote:
-map filename

choose a particular set of colors from this image.

[convert or mogrify].

By default, color reduction chooses an optimal set of colors that best represent the original image. Alternatively, you can choose a particular set of colors from an image file with this option.
Source: http://www.imagemagick.org/script/co...ne-options.php
b_k is offline   Reply With Quote
Advert
Old 02-23-2007, 02:43 AM   #3
mtas
Enthusiast
mtas doesn't littermtas doesn't litter
 
Posts: 42
Karma: 145
Join Date: Oct 2006
Device: iLiad
Quote:
Originally Posted by BACbKA
Say, I have a JPEG photo image with lots of colours. Grayscale or colour one. When I load it on Iliad it looks pretty ugly. Is there a smart color reducing / predithering linux pipeline that image gurus out there could advice? Manual tweaks in gimp are not welcome, but I can do it as a last resort. Can ImageMagick convert(1) be told about what the iliad's palette is?
I don't know about the quality but sunning convert with the arguments -colorspace GRAY and -colors 16 as arguments should do it.
mtas is offline   Reply With Quote
Old 02-23-2007, 08:05 AM   #4
BACbKA
мокрец
BACbKA began at the beginning.
 
Posts: 52
Karma: 28
Join Date: Jan 2007
Location: Israel
Device: palm, iliad
Quote:
don't know about the quality but sunning convert with the arguments -colorspace GRAY and -colors 16
-colors 16

reduces the palette to <= 16 colors, but not necessarily THE 16 colors available on iliad! the -map option advised by b_k was what I initially thought of myself, but it requires an image with a correct palette in it to start with as a map.
BACbKA is offline   Reply With Quote
Old 02-23-2007, 12:18 PM   #5
b_k
Übernerd
b_k is on a distinguished road
 
Posts: 238
Karma: 74
Join Date: Jun 2006
Location: Germany
Device: iRex iLiad
so whats the problem? ask iRex for a BMP. I would think they have one.
b_k is offline   Reply With Quote
Advert
Old 02-23-2007, 04:06 PM   #6
BACbKA
мокрец
BACbKA began at the beginning.
 
Posts: 52
Karma: 28
Join Date: Jan 2007
Location: Israel
Device: palm, iliad
so I guess I am asking them and anyone else who's got it set up already...
BACbKA is offline   Reply With Quote
Old 02-24-2007, 08:48 AM   #7
b_k
Übernerd
b_k is on a distinguished road
 
Posts: 238
Karma: 74
Join Date: Jun 2006
Location: Germany
Device: iRex iLiad
OTOH, you could try to create a palette by yourself with GIMP. The supported colors are mentioned in the "How to create content ..." document from iRex.
b_k is offline   Reply With Quote
Old 03-23-2007, 01:43 PM   #8
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
I'm attaching the pinlock file included in the ipdf sources. If you have imagemagick installed on your computer, you should be able to use the following command to convert it to a color map that best matches the iLiad.

Code:
convert -dither -map pincode_lock_background.png original_image.jpg updated_image.jpg
Attached Thumbnails
Click image for larger version

Name:	pincode_lock_background.png
Views:	488
Size:	145.7 KB
ID:	2964  
Adam B. is offline   Reply With Quote
Old 04-05-2007, 06:09 PM   #9
BACbKA
мокрец
BACbKA began at the beginning.
 
Posts: 52
Karma: 28
Join Date: Jan 2007
Location: Israel
Device: palm, iliad
Thanks for posting the PNG. Unfortunately, neither your command line, nor the same with the addition of -colorspace GRAY -colors 16 improved anything with my photo The resulting picture looks great on my PC display, yet looks ugly, with visible added edges at color boundaries, on the iliad. Dithering doesn't seem to visibly help a lot...
BACbKA is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
convert pdf image to jpeg nor11wan Other formats 0 04-27-2010 10:17 PM
iLiad iLiad Development VMWare image Adam B. iRex Developer's Corner 73 11-15-2009 09:47 AM
Image samples from the Kindle and iLiad daffy4u Amazon Kindle 5 08-10-2008 12:23 PM
iLiad Is source code of iLiad image viewer available? ericshliao iRex Developer's Corner 1 01-16-2008 02:24 AM
iLiad How can I mount an iso-image on iLiad? yokos iRex Developer's Corner 4 01-24-2007 03:59 AM


All times are GMT -4. The time now is 05:21 AM.


MobileRead.com is a privately owned, operated and funded community.