the sx10 porting thread - page 60 - General Discussion and Assistance - CHDK Forum supplierdeeply

the sx10 porting thread

  • 613 Replies
  • 342352 Views
*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: the sx10 porting thread
« Reply #590 on: 12 / January / 2010, 16:49:26 »
Advertisements
@JoeMarfice2
as sandeman already said - CRW is "a kind of" standard used by Canon (Canon RaW) for older RAW images, there's also the newer .CR2 RAW image format. Canon didn't publish official papers for those formats...
There are also dozends of other RAW image "file formats" out there, that's why Adobe created the DNG format...
--> http://en.wikipedia.org/wiki/Raw_image_format
--> http://en.wikipedia.org/wiki/Digital_Negative_%28file_format%29

If you don't like .CRW, so you can choose another filename extension in the CHDK RAW menu.

« Last Edit: 12 / January / 2010, 16:56:58 by fe50 »

*

Offline reyalp

  • ******
  • 14098
Re: the sx10 porting thread
« Reply #591 on: 12 / January / 2010, 16:51:48 »
Gripe, not aimed at anyone here: Why on earth the CHDK project would call their output files CRW, when they aren't consistent with standard Canon CRW files - according to what I've read and seen - is beyond me... No one outputs Word-like documents with a .txt extension. No one outputs .bmp image files that aren't bitmaps. These files should be .CR1, or .CRW_CHDK, or anything not already associated with an existing image file format.
Because there is no such thing as a fixed crw format.

Quote
Edit: OK, let me rephrase this a bit: the crw format is standardized, but most programs need a camera profile in order to read the files from a specific camera.

This is not true (edit: or I should say, not the whole picture). CRW and CR2 are Canon formats with a well defined specific technical specification. CHDK does not implement either of these formats, and CHDK "CRW" files are just a sensor dump which has no relation to the canon format.

CHDK uses the CRW extension because it is recognized by the canon firmware, which makes some things like transferring over USB more convenient. You can choose other extensions if you like.

Here's some notes on how the prefix/extension chosen interact with the canon firmware:
http://chdk.setepontos.com/index.php/topic,2045.msg18862.html#msg18862


edit to add:
It is unfortunate that the CHDK non-format has become confused with the canon format. It would have been better to define an actual, easily identifiable format from the start. Oh well, see sig ;)
« Last Edit: 12 / January / 2010, 16:55:36 by reyalp »
Don't forget what the H stands for.

*

JoeMarfice2

Re: the sx10 porting thread
« Reply #592 on: 13 / January / 2010, 02:37:55 »
Quote
This is not true (edit: or I should say, not the whole picture). CRW and CR2 are Canon formats with a well defined specific technical specification. CHDK does not implement either of these formats, and CHDK "CRW" files are just a sensor dump which has no relation to the canon format.

So, just like I said, the CHDK project "CRW" files aren't consistent with standard Canon CRW files, and that's just plain dumb.

"Hack" doesn't have to mean badly implemented.

Again, not aimed at anyone here on the list; I've been involved with enough software development programs to recognize that sometimes bad decisions are made in the early stages, and then fossilized, leaving the future software stuck with them forever.

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: the sx10 porting thread
« Reply #593 on: 13 / January / 2010, 04:22:55 »
Quote
So, just like I said, the CHDK project "CRW" files aren't consistent with standard Canon CRW files, and that's just plain dumb.

I wouldn't call going for maximum possible saving speed dumb, it's nice to have a choice between
max speed and max compatibility.

wim


*

Offline reyalp

  • ******
  • 14098
Re: the sx10 porting thread
« Reply #594 on: 13 / January / 2010, 05:42:19 »
So, just like I said, the CHDK project "CRW" files aren't consistent with standard Canon CRW files, and that's just plain dumb.
The part of the post you didn't quote explained why that extension was chosen... and you are still free to use other extensions.
Don't forget what the H stands for.

Re: the sx10 porting thread
« Reply #595 on: 19 / January / 2010, 16:31:03 »
(I'm the same user as JoeMarfice2, BTW)

OK, I missed the part where whim & reyalp said that (if I'm putting it all together right) the files won't be saved as quickly with a less ambiguous file extension than "crw". It is then a very unfortunate choice, instead of just dumb. Maybe the best choice, but if so, that's still unfortunate, because it's ambiguous.

The whole purpose of file extensions is to eliminate ambiguity: to enable applications and the OS to "know" which files they can use, and how.

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: the sx10 porting thread
« Reply #596 on: 19 / January / 2010, 18:11:04 »
@JoeMarfice

Somehow, i still have the impression you missed the point ... the only available choices available for raw (or anything
that needs to able to be transferred over USB) are .JPG, .CRW, .CR2, THM, WAV  (see link in #591)
And the same argument of possible confusion can be made for all of them, so what choice would you favour / have
favoured ?

wim

PS that reminds me i still forgot to sue M$ for stealing my name as an extension  ;)


Re: the sx10 porting thread
« Reply #597 on: 14 / March / 2010, 12:29:58 »
Guys is there a way to use 8gb card with CHDk for sx10 ?


*

Offline fe50

  • ******
  • 3147
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: the sx10 porting thread
« Reply #598 on: 14 / March / 2010, 15:08:32 »
Hello & welcome, hasitha !
Guys is there a way to use 8gb card with CHDk for sx10 ?
Yes - it's the same as on the most/all the other cameras with SDHC support...

* http://chdk.setepontos.com/index.php/topic,2468.msg30911.html#msg30911 (general info)
* http://chdk.setepontos.com/index.php/topic,2468.msg36022.html#msg36022 (in the camera)
* http://chdk.setepontos.com/index.php/topic,3910.msg36763.html#msg36763 (with SDM installer)

Re: the sx10 porting thread
« Reply #599 on: 03 / May / 2010, 06:40:57 »
Hi,

I am trying to fix a particular bug in SX20IS port - the main CHDK menu does not go away. It seems that the problem is in the address of RefreshPhysicalScreen and/or enabled_refresh_physical_screen (the second is, obviously, easy if you know the first.) I have dumps of SX10 ans SX20 and trying to look for similar calls between those (SX10 is presumably working fine). No luck so far.

Can anybody give a tip how the RefreshPhysicalScreen can be located, e.g. how was it achieved in SX10?

Regards in advance.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal