Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
vintage erotica forum vintage erotica forum vintage erotica forum
vintage erotica forum
Home
Go Back   Vintage Erotica Forums > Information & Help Forum > Help Section > Scanning Feedback
Best Porn Sites Live Sex Register FAQ Members List Calendar Mark Forums Read

Notices

Reply
 
Thread Tools Display Modes
Old August 7th, 2009, 05:01 PM   #1
svga
Former Staff
 
svga's Avatar
 
Join Date: Aug 2008
Location: Germany - Tripping the Rift
Posts: 1,427
Thanks: 16,756
Thanked 39,590 Times in 1,329 Posts
svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+
Default How to convert scans to reasonable size?

First my environment:
Hardware: Epson Perfection V200 Photo scanner
Software: xsane-0.995 (Linux)

I scan magazines at 300dpi with this environment, which produces PNM files which are about 25MB (2544x3509 pixel, depth 24). Of course I can't (or am not willing) upload these images directly to an image hoster. Therefore I currently convert the images with the convert program from ImageMagick:

convert -resize '1680x1680>' infile outfile.jpg;

This produces images with a maximum side length of 1680 pixels, the image size is about 300 KB.

My question: Is there a better way to compress the images to a reasonable size?
__________________
PM me if my uploads are no longer available, I will re-upload them
svga is offline   Reply With Quote
The Following 4 Users Say Thank You to svga For This Useful Post:


Old August 7th, 2009, 06:31 PM   #2
Xxphd
R.I.P.
 
Xxphd's Avatar
 
Join Date: Nov 2005
Location: Gone But Not Forgotten
Posts: 6,562
Thanks: 37,001
Thanked 77,386 Times in 5,393 Posts
Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+
Post

I always batch-convert with GraphicConverter

PICT 32 bit -> jpeg
__________________
We got to let love rule.

Last edited by Xxphd; August 8th, 2009 at 06:03 PM.. Reason: PICT
Xxphd is offline   Reply With Quote
The Following 5 Users Say Thank You to Xxphd For This Useful Post:
Old August 7th, 2009, 07:03 PM   #3
svga
Former Staff
 
svga's Avatar
 
Join Date: Aug 2008
Location: Germany - Tripping the Rift
Posts: 1,427
Thanks: 16,756
Thanked 39,590 Times in 1,329 Posts
svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+
Default

Thanks for the response, butI have to rephrase my question: Is there a better way to get a better quality/image size (in bytes) ratio?

One example: I've converted the same scan with two different options to approximately the same size (380 kB):

1st Conversion: convert -resize '1680x1680>' page26.pnm page26-1680x1680.jpg (uses standard compression 85):


2nd Conversion: convert -quality 27 page26.pnm page26-q27.jpg (this sets the "JPEG compression" to 27 without changing the image size):


Which one is better?

Of course proposals for other programs which produce better results are welcome
__________________
PM me if my uploads are no longer available, I will re-upload them
svga is offline   Reply With Quote
The Following 4 Users Say Thank You to svga For This Useful Post:
Old August 8th, 2009, 03:09 PM   #4
icu
Ups, i did it again
 
icu's Avatar
 
Join Date: Jan 2008
Posts: 2,305
Thanks: 6,077
Thanked 23,961 Times in 2,082 Posts
icu 100000+icu 100000+icu 100000+icu 100000+icu 100000+icu 100000+icu 100000+icu 100000+icu 100000+icu 100000+icu 100000+
Default

Panorama : resize / resample



left origin 95%, middle resize + zoom , right resample + zoom. ( irfanview )

The resample function in Irfanview softens during the resample and reduces the filesize.



Panorama: jpg compression



from left to right:
100%, 501KB
60%, 69KB
95%, 302KB
85%, 156KB

It can be useful to save with high compression values ( 85%+ ) if the pic contains reflexions ( metal, fingernails, hair, ... ). Lower compression values decreases the depth effect due to lower brilliance.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
.
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
.
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
.
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

icu is offline   Reply With Quote
The Following 5 Users Say Thank You to icu For This Useful Post:
Old August 8th, 2009, 04:32 PM   #5
Jism Jim
Sourcer of Smut
 
Jism Jim's Avatar
 
Join Date: Aug 2007
Posts: 8,828
Thanks: 83,554
Thanked 341,586 Times in 8,421 Posts
Jism Jim 1000000+Jism Jim 1000000+Jism Jim 1000000+Jism Jim 1000000+Jism Jim 1000000+Jism Jim 1000000+Jism Jim 1000000+Jism Jim 1000000+Jism Jim 1000000+Jism Jim 1000000+Jism Jim 1000000+
Default

Quote:
Originally Posted by svga View Post
I scan magazines at 300dpi with this environment, which produces PNM files which are about 25MB (2544x3509 pixel, depth 24).
Can your scanning software produce bitmap files too? If so, this will increase your choice of converting software.
I don't know about Linux, but I use Irfanview myself. IMO it produces very good results with the quality setting at 80%.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

Feel free to post my scans to the relevant model threads, but do give credit
Jism Jim is online now   Reply With Quote
The Following 5 Users Say Thank You to Jism Jim For This Useful Post:
Old August 8th, 2009, 04:43 PM   #6
svga
Former Staff
 
svga's Avatar
 
Join Date: Aug 2008
Location: Germany - Tripping the Rift
Posts: 1,427
Thanks: 16,756
Thanked 39,590 Times in 1,329 Posts
svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+
Default

Quote:
Originally Posted by Dario Rosselini View Post
Can your scanning software produce bitmap files too? If so, this will increase your choice of converting software.
I don't know about Linux, but I use Irfanview myself. IMO it produces very good results with the quality setting at 80%.
No, the software itself can only produce PNM, but the formats are similar and I can convert to BMP with another tool without any loss of information.
__________________
PM me if my uploads are no longer available, I will re-upload them
svga is offline   Reply With Quote
The Following 4 Users Say Thank You to svga For This Useful Post:
Old August 8th, 2009, 05:22 PM   #7
Xxphd
R.I.P.
 
Xxphd's Avatar
 
Join Date: Nov 2005
Location: Gone But Not Forgotten
Posts: 6,562
Thanks: 37,001
Thanked 77,386 Times in 5,393 Posts
Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+Xxphd 350000+
Post 25MB

Quote:
Originally Posted by svga View Post
I scan magazines at 300dpi with this environment, which produces PNM files which are about 25MB (2544x3509 pixel, depth 24).
producing a BMP or PICT will reduce the size to about 50% or even less of that I guess
__________________
We got to let love rule.
Xxphd is offline   Reply With Quote
The Following 4 Users Say Thank You to Xxphd For This Useful Post:
Old August 8th, 2009, 06:16 PM   #8
svga
Former Staff
 
svga's Avatar
 
Join Date: Aug 2008
Location: Germany - Tripping the Rift
Posts: 1,427
Thanks: 16,756
Thanked 39,590 Times in 1,329 Posts
svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+svga 175000+
Default

Quote:
Originally Posted by Xxphd View Post
producing a BMP or PICT will reduce the size to about 50% or even less of that I guess
No, it's almost the same size (26781040 respective 26780742 bytes in the example):

Code:
> convert page26.pnm page26.bmp # converts PNM to BMP (lossless)
> ls -l
-rw-r-----  1 anon anon 26781040 Jun 26 23:43 page26.pnm
-rw-r--r--  1 anon anon 26780742 Aug  8 18:41 page26.bmp
As far as I know PNM has also an ASCII representation instead of using raw binary data. If this would be used you would be right.

PNM and BMP are almost the same formats, they store for every pixel the full information (e..g. 24 bits RGB value or 8 bit grey value).
__________________
PM me if my uploads are no longer available, I will re-upload them
svga is offline   Reply With Quote
The Following 5 Users Say Thank You to svga For This Useful Post:
Old August 8th, 2009, 08:33 PM   #9
tuffy
Veteran Member
 
Join Date: Aug 2007
Posts: 566
Thanks: 192
Thanked 12,244 Times in 432 Posts
tuffy 50000+tuffy 50000+tuffy 50000+tuffy 50000+tuffy 50000+tuffy 50000+tuffy 50000+tuffy 50000+tuffy 50000+tuffy 50000+tuffy 50000+
Default

Quote:
Originally Posted by svga View Post
Thanks for the response, butI have to rephrase my question: Is there a better way to get a better quality/image size (in bytes) ratio?

One example: I've converted the same scan with two different options to approximately the same size (380 kB):

1st Conversion: convert -resize '1680x1680>' page26.pnm page26-1680x1680.jpg (uses standard compression 85):


2nd Conversion: convert -quality 27 page26.pnm page26-q27.jpg (this sets the "JPEG compression" to 27 without changing the image size):


Which one is better?

Of course proposals for other programs which produce better results are welcome
Which one is better?

The first picture.

Why?

Because the second picture has too many JPEG artifacts.(the Quality=27 is too low)

There is a problem here, the first picture's size is 1218x1680 (resized 50%), the second picture's size is 2544x3509. It's not easy to compare them when they have different sizes.

Is there a better way to get a better quality/image size (in bytes) ratio?

No. If you want good quality you pay with a bigger file size.

The JPEG compression is lossy, you can use it with Quality setting between 70-100, 85 is a good compromise.

Some HQ (big sizes) examples:

1. 200dpi descreen on - 600kB


3. 300dpi descreen off, edited - 1MB


5. 300dpi descreen on, edited - 1MB


It's interesting that the 300dpi pic with descreen ON has a little moire, and with descreen OFF no moire.

Tuffy

Last edited by tuffy; August 8th, 2009 at 09:35 PM.. Reason: added some pics
tuffy is offline   Reply With Quote
The Following 7 Users Say Thank You to tuffy For This Useful Post:
Old March 15th, 2012, 11:20 AM   #10
beutelwolf
paludicolous paravant
 
beutelwolf's Avatar
 
Join Date: Sep 2005
Location: Perfidious Albion
Posts: 26,732
Thanks: 75,647
Thanked 745,217 Times in 26,851 Posts
beutelwolf 2500000+beutelwolf 2500000+beutelwolf 2500000+beutelwolf 2500000+beutelwolf 2500000+beutelwolf 2500000+beutelwolf 2500000+beutelwolf 2500000+beutelwolf 2500000+beutelwolf 2500000+beutelwolf 2500000+
Default

Back in the days when I was fiddling with these options, my rule of thumb was: scan with high resolution, reduce afterwards - although I left the reduction to a picture editor (PaintShop Pro), not the scanning software. Though this may have also been influenced by the tiny little issue that my first scanners didn't support picture reduction.

Anyway, that strategy that seemed to help with Moire patterns. When I got Moire with scanning at 300dpi I moved to 500pdi or even 1000dpi, creating a monster-sized file, and then let the picture editor do its magic afterwards.
beutelwolf is online now   Reply With Quote
The Following 10 Users Say Thank You to beutelwolf For This Useful Post:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




All times are GMT. The time now is 06:20 PM.






vBulletin Optimisation provided by vB Optimise v2.6.1 (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.