S95 Porting Thread - page 93 - DryOS Development - CHDK Forum  

S95 Porting Thread

  • 1015 Replies
  • 354601 Views
Re: S95 Porting Thread
« Reply #920 on: 11 / July / 2011, 16:13:57 »
Advertisements
I wanted to point out that DNGs, without using the patch, were able to be read by RawTherapee, Gimp, UFRaw, Irfanview, and Corel Paintshop Pro X3.   Adobe Photoshop CS5 v12.0.4 may be the culprit.  Photoshop may not be implementing the dcraw code correctly.

After the patch is applied, and the camera takes DNGs, there is a consistent black vertical line along the left edge of each DNG picture.  So I'm starting to think that something is amiss with Photoshop.

The v6.4.1 camera raw update has been applied to Photoshop, but it still won't read DNGs made with the 1236 update.

Thanks,

Maverick
« Last Edit: 12 / July / 2011, 02:42:24 by maverick »

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: S95 Porting Thread
« Reply #921 on: 13 / July / 2011, 16:36:55 »
@maverick
@waterwingz

Patch submitted here

cheers,

wim

[edit: please check my edit @link above for a DNG comparison]

Based on the sample images you posted the values below would probably work better for the S95
    #define CAM_ACTIVE_AREA_X1          64
    #define CAM_ACTIVE_AREA_Y1          22
    #define CAM_ACTIVE_AREA_X2          3728
    #define CAM_ACTIVE_AREA_Y2          2762

Phil

CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: S95 Porting Thread
« Reply #922 on: 13 / July / 2011, 17:57:43 »
@philmoz
@maverick

Thanks, don't have time to test myself ATM, but I compiled a modded 1236
for Maverick, so he can check if his PS likes it ...

Quote
    // cropping
    #define CAM_JPEG_WIDTH  3648   // 3600
    #define CAM_JPEG_HEIGHT 2736   // 2700
    // mod suggested by philmoz here: http://chdk.setepontos.com/index.php?topic=5641.msg70228#msg70228
    #define CAM_ACTIVE_AREA_X1 64   // 52
    #define CAM_ACTIVE_AREA_Y1 22   // 14
    #define CAM_ACTIVE_AREA_X2 3728   // 3648
    #define CAM_ACTIVE_AREA_Y2 2762   // 2736

cheers,

wim

Re: S95 Porting Thread
« Reply #923 on: 14 / July / 2011, 20:14:47 »
I've been using the "ult_intrvl.bas" script. But I am having a hard time figuring out how to make the display turn off so I don't waste so much battery.

Anyone have any ideas?

I've tried changing the "Review" setting to OFF and the "Display Off" time to 10 seconds.  But that doesn't seem to do anything.

I would appreciate any feedback on this. Thanks.


Re: S95 Porting Thread
« Reply #924 on: 15 / July / 2011, 08:28:29 »
Hi, I having some problems in taking photos with my script with a interval lower than 4,5 seconds, this script read the signal from the usb, I don't think that the problem is my card, because with the continous shut mode of the camera it takes more than one photo per second. If someone want the code of my script i can manage to send it. Thanks

Re: S95 Porting Thread
« Reply #925 on: 16 / July / 2011, 10:54:09 »
I use my Canon S95 for UW photography (diving). The house I have for the camera does not allow access to the wheel on the back of the camera. I have discovered that if I hold down the PRINT key and press LEFT or RIGHT I can adjust exp comp. without using the wheel. When CHDK is active this does not work any more. It is difficult to press two keys at the same time when the camera is in the house anyway, and it would be much nicer if LEFT and RIGHT could simulate rotating the wheel when in ALT mode. I will see if I can figure out to make this work, but help is welcome :) Since I am new to CHDK it also do not know if I am the only person using CHDK for UW photography?

Re: S95 Porting Thread
« Reply #926 on: 17 / July / 2011, 11:30:46 »
@philmoz
@maverick

Thanks, don't have time to test myself ATM, but I compiled a modded 1236
for Maverick, so he can check if his PS likes it ...

Quote
   // cropping
    #define CAM_JPEG_WIDTH  3648   // 3600
    #define CAM_JPEG_HEIGHT 2736   // 2700
    // mod suggested by philmoz here: http://chdk.setepontos.com/index.php?topic=5641.msg70228#msg70228
    #define CAM_ACTIVE_AREA_X1 64   // 52
    #define CAM_ACTIVE_AREA_Y1 22   // 14
    #define CAM_ACTIVE_AREA_X2 3728   // 3648
    #define CAM_ACTIVE_AREA_Y2 2762   // 2736

cheers,

wim


Wim and Phil:

I apologize for my delay in responding to your latest mod to 1236 as I have been out of town and distracted.  I've tested the mods and here are my findings:

Please implement Phil's mod in the next version of CHDK.

However, please consider that Whim's mod resulted in a DNG of 3676 x 2768 with a black vertical line (or space) on the left side of the picture.  Phil's mod results in a DNG of 3664 x 2740 with no vertical line. The final jpeg is trimmed to 3648 x 2736 (the camera's spec resolution).  This is also the resolution that Photoshop reports when it reads the DNGs.  

Irfanview (and other viewers that use the dcraw plugin) report the full DNG image size. Somehow, Photoshop reports the smaller image size of 3648 x 2736 regardless of the true DNG size.  Since Photoshop displays a vertical line on the left side of the picture, it must shrink (and not crop) the final image to only display what the manufacturer (i.e. Canon) intended: 3648 x 2736.  If Photoshop cropped the image, it would cut off the vertical line (which it does not do).

Phil's mod enables Photoshop CS5 to read DNG files AND there is no vertical bar on the left side of the picture.  


Thanks for all your work on this,

Maverick

« Last Edit: 19 / July / 2011, 13:49:37 by maverick »

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: S95 Porting Thread
« Reply #927 on: 20 / July / 2011, 05:28:07 »
@maverick

Attached is a test version for firmware 1.00k.
This enables the option to correctly save RAW/DNG files in the same directory as the JPEG's.
I've also changed the screen scaling ratio for the CHDK menus and OSD. This will make the font slightly narrower; but fits more characters across the screen (and is slightly faster) - http://chdk.setepontos.com/index.php?topic=6395.0

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)


Re: S95 Porting Thread
« Reply #928 on: 20 / July / 2011, 12:33:10 »
@maverick

Attached is a test version for firmware 1.00k.
This enables the option to correctly save RAW/DNG files in the same directory as the JPEG's.
I've also changed the screen scaling ratio for the CHDK menus and OSD. This will make the font slightly narrower; but fits more characters across the screen (and is slightly faster) - http://chdk.setepontos.com/index.php?topic=6395.0

Phil.


I installed the test version for firmware 1.00K and it works perfectly.  DNGs can be opened by Photoshop CS5, there is no vertical line on the left side of the picture and JPG and DNG files reside in the same folder without recreation of the folders each time I turn on the camera.

Thanks for working on this.

Cheers,

Mav

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: S95 Porting Thread
« Reply #929 on: 21 / July / 2011, 16:05:09 »
@maverick

Attached is a test version for firmware 1.00k.
This enables the option to correctly save RAW/DNG files in the same directory as the JPEG's.
I've also changed the screen scaling ratio for the CHDK menus and OSD. This will make the font slightly narrower; but fits more characters across the screen (and is slightly faster) - http://chdk.setepontos.com/index.php?topic=6395.0

Phil.


I installed the test version for firmware 1.00K and it works perfectly.  DNGs can be opened by Photoshop CS5, there is no vertical line on the left side of the picture and JPG and DNG files reside in the same folder without recreation of the folders each time I turn on the camera.

Thanks for working on this.

Cheers,

Mav

I've posted a patch for these changes and the updated modemap values (thx for getting all those).

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal