AutoHotkey Community

It is currently May 25th, 2012, 5:15 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 85 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
PostPosted: May 14th, 2007, 9:46 am 
About the first post in the topic;

Cant we show the image without saving it on the disk.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 14th, 2007, 9:55 am 
See Include bitmaps in your scripts!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 14th, 2007, 7:36 pm 
is it possible do this with a picture in .jpg? And its bigger? 1152x864


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 15th, 2007, 9:31 am 
These techniques are more designed for small pictures: encoding binary data to Ascii form (to be included in script) makes the data bigger (from 33 to 100% more) and there is a limitation on continuation section size.
So, it is possible, but probably inappropriate.
If you compile your script, perhaps you should check FileInstall.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 15th, 2007, 10:17 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Maybe THIS technique.

The concept can be extended easily to support arbitrary file/file size.
Titan's UUencode/decode can be good start. The same thing is used in e-mail clients around. Some compression can be achieved using PhiLho's & Laszlos compreesion algorythms. The best way though is to use cabinet creator to pack multiple files into single one, convert that single one into hex data and return it back later.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 15th, 2007, 4:16 pm 
can you give me an example? or the link to titan?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 15th, 2007, 4:21 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Example is not trivial.

Keywords: BInaryRead/Write, UUEncode, loop, GUID, ScriptMerge

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 15th, 2007, 5:02 pm 
majkinetor wrote:
Titan's UUencode/decode can be good start. The same thing is used in e-mail clients around.
No, if I recall correctly, UUEncode is an old, quite obsolete Unix encoding. E-mail uses Base64.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 15th, 2007, 5:39 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Keywords .= " Base64"

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 15th, 2007, 7:20 pm 
i am a very noob at this... please please pleace... make a example.. To get big pictures at the gui! I dont understand.. pleace help me!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 15th, 2007, 8:44 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Why don't U try original approach. I bet it will work.
We ment LARGE files, and jpg at screen size isnt' LARGE.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 16th, 2007, 9:16 am 
Dear Anonymous Guest (are you zugurt the original poster? This is confusing), perhaps you should explain what are you trying to do.
Why loading an image from a file isn't wanted?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 26th, 2007, 12:13 pm 
There's a request at AfH, which I think could be solved using the techniques descriped at this thread.

Situation:
a) a consecutive number of images AKA a movie.
b) valid for most images is that only parts of its content will vary. The majority of pixels will remain unchanged.

What about to convert the 'master' image to keep it, and all following ones will just save the variable subset of that 'master'??


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 26th, 2007, 12:16 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Quote:
What about to convert the 'master' image to keep it, and all following ones will just save the variable subset of that 'master'??

To achive this, put all images in the GIF, optmise it, and do the code to display image from the gif by its index. ;)

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 26th, 2007, 12:31 pm 
I1 = 100k keep separate file
I2 = 100k "
I3 = 100k "
I4 = 100k "
I5 = 100k "
----- 500k

I1 = 100k keep master file
I2 = 10k keep variable subset of master file
I3 = 15k "
I4 = 10k "
I5 = 60k "
----- 195k


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 85 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 15 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group