sebkirche / keynote-nf

Automatically exported from code.google.com/p/keynote-nf
0 stars 0 forks source link

Idea for handling images #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
By now when I have bitmap or jpeg paste I can not change it easily.
I have to copy, paste e.g. in paint than again copy and paste
to keynote and rezize to same size that it was before.
The nice idea would be - on double click, create temporary jpeg or bmp
file, than lunch e.g. paint with parameter on that temp file
(could be optional software to edit images) as child process,
finally when saved and child process is closed, copy content of that
temporary file, delete it and put it in place of old data in keynote file.
On the end resize to state from before change.
In that way one could easily edit images, e.g. add some line, or circle,
or apply even some vector graphic software e.g. Diagram Designer.
Very useful when designing conceptions instead of regular paper :)

Original issue reported on code.google.com by szmas...@googlemail.com on 23 Jan 2009 at 10:38

GoogleCodeExporter commented 9 years ago
One more thought - it could be applied also to other file types as an option 
e.g. word document is opened in embedded msword - possible option - separate
regular msword window.
If that option would be available => opening in openoffice would be also 
possible :)
On the other hand, also file types unsupported by keynote could be inside 
as an icon for example and edited in that way.

Original comment by szmas...@googlemail.com on 23 Jan 2009 at 11:27

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Difficult to paste to keynote?
You mean maybe slow when you have lots of them?
Obviously it may be slow, because it is like packing images to one big file.
The only way to make it faster, I think would be to allow images be stored
separately, so e.g. like jpg files, and keynote could just read them
in proper notes.

Original comment by szmas...@googlemail.com on 23 Jan 2009 at 4:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I use Ctrl+V for images and in 1.6.5 (old version) that works perfectly.
I suffer only from saving keynote file time which is increasing with
the number of images, but well.. In fact there is a concept of virual nodes.
You can paste image to rtf and attach rtf as virtual node.
But it would be nice to have also regular node and inside a note "virtual image"
i.e. image that is placed not in keynote file, but as separate e.g. .jpg file.
Keynote file would just to have a link, and keynote could just display an image
in proper place of e.g. between text like now. That is what I meant.

Original comment by szmas...@googlemail.com on 23 Jan 2009 at 4:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have just tried 1.7.4(rev2) works as well, that must be issue from win2k
Mine is winxp home. I use old one, because polish letter rightalt+c -> ć does 
not work in this one ;)

Original comment by szmas...@googlemail.com on 23 Jan 2009 at 5:14

GoogleCodeExporter commented 9 years ago
I tried pasting images with the old version (Keynote 1.6.5 installed with 
installer)
and they worked!  Next I tried saving the sample.knt file, closing version 
Keynote
1.6.5 and opening with Keynote NF 1.7.4(rev.2).  Keynote NF would open the 
file, but
all of the notes were blank.  I guess it boils down to two issues:

1) On Windows 2000 Keynote NF may not be able to import Keynote 1.6.5 files
2) Also on Windows 2000 Keynote NF will not paste in images.

I'm thinking the problem is Win2K compatibility.

Original comment by J.Tuomikoski@gmail.com on 23 Jan 2009 at 5:55

GoogleCodeExporter commented 9 years ago
Well, I agree with you two. I admit that I do not use images with the 
reassurance
that I should, to not increase too much file size. Should explore possible 
solutions;
szmaszmo has already identified some.
Anyway the problem, in my view, is the current design of KeyNote in wich the 
base is
a single file  (using virtual file is useful but not really solve this 
problem). The
entire file is read and stored as a whole, but only change a node. It is 
possible to
use multiple KeyNote files, but the decision to "break" the information into 
multiple
files is not always immediate.

Of course, despite these drawbacks I believe that KeyNote is a very useful tool.
Now, as I indicated on the homepage of this project, my intention is to build 
on an
object-oriented database (db4o). Actually be used so many BD (which does not 
cease to
be a single file) as you want. I think that will have many advantages, such as 
in the
case of wanting to place the database on a network drive, web serving, sync 
with pda,
and so on.
Simply load and modify the nodes (notes / posts / etc) that apply depending on 
the
view that we are driving.

They are things I am considering in my project TESELA (now I spend very little 
time
in TESELA because actually I am more focused on KeyNote NF) In short (I hope) I 
will
also include in Google Code, although at a very early stage.

Tuomikoski, I think that the problem you have with version 1.7.4 and W2000 is 
related
to issue #24, resolved and pending to be included in a new release.

Probably this weekend I will release version 1.7.5 with issues finished. Among 
other
things, it may allow you (which you are willing to collaborate) to begin 
translating
KeyNote NF to other languages (See issue #23). And incorporate the rest of 
issues in
future versions
Szmaszmo, on what you state of using other programs to edit or manage content 
stored
in KeyNote NF, either Paint, Word (if installed), Excel, etc, is something I 
have in
mind. Another thing is to do so in KeyNote NF or in TESELA (or both).

Original comment by dpra...@gmail.com on 23 Jan 2009 at 6:58

GoogleCodeExporter commented 9 years ago
Just idea about images - if you want to have them in one file, 
then use good compression and fast (optimal) compression 
before saving to keynote file (level could be adjusted by user).
Or even compression of entire keynote file.. CPUs are now faster than drives ;)
Thinking about collaboration - I tried to compile 1.6.5 in Delphi 3,
but I failed missing components.
I suppose new version is possible to compile in turbo delphi 2006 right?
In fact I am a fan of ansi C, C++ builder etc. so delphi is not what I like 
most ;)
Of course Keynote is great software, best ever seen - really.
Thank you for acceptance of my ideas, that is great :)

Original comment by szmas...@googlemail.com on 23 Jan 2009 at 7:24

GoogleCodeExporter commented 9 years ago
Just thought how word2k does that - it is possible to put many images inside 
but, there is no big delay when saving file, in fact it uses temporary files.
Eveytime I push save, next file is generated, I suppose it is faster.
Then when editing is finished, all temporary files are deleted simply.
I am afraid, that when development of keynote will go in the direction of 
database,
we will loose nice mobility i.e. I can simply copy my file on usb and that is 
it.
With database, it is not always that easy.

Original comment by szmas...@googlemail.com on 23 Jan 2009 at 8:19

GoogleCodeExporter commented 9 years ago
It wasn't trivial to compile KeyNote 1.6.5. As you say, it were missing third 
party
components. And I tried to compile directly in Borlad Delphi 2006, and so I had 
to
make some adjustments.
You can check out the code from 
http://code.google.com/p/keynote-nf/source/checkout
and try with it in Delphi 2006. You can suggest patches to the code.

Delphi 2006 is neither my programming environment. I am more confortable with 
.NET,
but at last all modern program languages are similar and the only difficulty is 
to
remeber the syntax. However many times the only thing to do is to look for some
similar code and use it as an example.

Suggestion about compression: of course, it is an good option.

As to what you say about databases and mobility, there is no danger in case of 
db4o
precisely oriented in that direction. The database resides in a single file and 
the
handling of it is supplied through a pair of DLLs
http://www.db4o.com/about/productinformation/

Original comment by dpra...@gmail.com on 23 Jan 2009 at 9:00

GoogleCodeExporter commented 9 years ago
New TurboDelphiExplorer 2006 is a part of BorlandDeveloperStudio 2006.. 
need lots of .NET things to be installed, after some hour fight finally 
installed.
But... same result with missing components again.. like in old one.. too bad...

Original comment by szmas...@googlemail.com on 24 Jan 2009 at 9:00

GoogleCodeExporter commented 9 years ago
But, do you have problem with IDE itself or with compiling KeyNote NF in that
environment?
It's true that requieres to install .NET components (not necessary in KeyNote) 
but
that wasn't a problem in my installation.

Original comment by dpra...@gmail.com on 24 Jan 2009 at 10:54

GoogleCodeExporter commented 9 years ago
As you have written before keynote project needs some additional components.
When I open keynote project, lots of error message boxes appear e.g. 
ttopmostwindow component is missing etc.
I have done some research already - downloaded some of them, but.. not all.. 
still..
Not all of them seem also to be dedicated to delphi 2006...

Original comment by szmas...@googlemail.com on 24 Jan 2009 at 11:41

GoogleCodeExporter commented 9 years ago
Following this topic further on, some of them need to be even compiled itself...
I am stuck e.g. with dfsstatusbar now... dsgnintf.dcu is missing...

Original comment by szmas...@googlemail.com on 24 Jan 2009 at 12:19

GoogleCodeExporter commented 9 years ago
After somehow successful fight with dsgnintf.dcu..
Stuck again this time with TChangeLink while compling ComCtrls95..
Any help appreciated..

Original comment by szmas...@googlemail.com on 25 Jan 2009 at 4:09

GoogleCodeExporter commented 9 years ago
Have you read file _README_SRC.txt?
There is explained how to compile the units and components. Anyway, I will try 
to
help you.

Original comment by dpra...@gmail.com on 25 Jan 2009 at 8:29

GoogleCodeExporter commented 9 years ago
Thanks a lot, that solved lots of issues,
I was searching everywhere beside the correct place.
Now I am stuck with this:
Can not find res_RTF.Language property language when opening project.
When compile: .OnURLClick incompatible parameter list.
And binary crashed with access violation.

Original comment by szmas...@googlemail.com on 26 Jan 2009 at 1:11

GoogleCodeExporter commented 9 years ago
The problem was:
I could not install version of rxlib attached to source, 
in fact I should install 3 parts:
dclrx2006.bdsproj
dclrxdb2006.bdsproj
dclrxbd2006.bdsproj
But I got internal error when compiling second one.
Finally realize that I need only fist one for keynote and now I can compile it.
I found that res_RTF is declared as TRxRichEdit and that one is somehow missing.
That error came because I installed rxlib, all 3 components from another source.
It is strange I must say, that keynote works exactly and only with this one,
which is also kind of buggy, because db and bd components give internal error.
Access violation come still.. but when the output folder is empty. I copied it
to folder of previous install, and now I have working 1.7.4 finally somehow :)

Original comment by szmas...@googlemail.com on 26 Jan 2009 at 4:41

GoogleCodeExporter commented 9 years ago
You must install those componentes because they use RxRichEd.pas, a file that 
it is
slightly modified by me. You can see log in SVN or compare that file with 
original
file, available in 
http://keynote-nf.googlecode.com/files/3rd_party_distributable.zip

What has allways been difficult to me is the isntallation of that componentes 
for the
first time. At least from my installation of Delphi, I received an access 
violation
on the first build, but just then repeated the Build and no longer complained...

Once installed, the necessary changes to RxRichEd.pas give no problem.

Original comment by dpra...@gmail.com on 26 Jan 2009 at 6:29