FILE,save,picture,without,savepicture,command
Quick Search for:  in language:    
FILE,save,picture,without,savepicture,command
   Code/Articles ╗ |  Newest/Best ╗ |  Community ╗ |  Jobs ╗ |  Other ╗ |  Goto ╗ | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
RentACoder Stats

 Code:  lines
 Jobs: 0 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for RentACoder.
A full chat program(not tested)
By Homee G on 8/19


Click here to see a screenshot of this code!Form Fader OCX control
By Ulli on 8/19

(Screen Shot)

Click here to see a screenshot of this code!Bitmap Font Reader
By cips on 8/19

(Screen Shot)

Of Microsoft, Open Source and Apple Pie
By Christopher Clai on 8/19


Multi Select Combobox
By joxsmith on 8/19


Click here to see a screenshot of this code!Update Plugin Sample2
By Emil Weiss on 8/19

(Screen Shot)

Click here to see a screenshot of this code!Full Winamp Equalizer
By Emil Weiss on 8/19

(Screen Shot)

Electronic Diary
By Gary Seume on 8/19


Click here to see a screenshot of this code!Upload my Plugin
By Emil Weiss on 8/19

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Save a picture with your file format!!!NOT SAVEPICTURE COMMAND!!must see.

Print
Email
 
winzip icon
Submitted on: 8/9/2002 3:36:55 PM
By: XasanSoft  
Level: Beginner
User Rating: By 2 Users
Compatibility:

Users have accessed this code 450 times.
 
author picture
(About the author)
 
     I save a picture to a file without savepicture command.The file size depends from the picture's size.I give you some pictures with the zip. Just select your picture and click save Or click load to load THIS FILE.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 13 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
8/9/2002 4:08:35 PM:XasanSoft
Also firstly save the current picture 
and after load it .
Then you can click 
change to load a normal picture to load 
and///,...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/9/2002 5:18:34 PM:Coding Genius
Great screen shot...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/10/2002 7:43:23 AM:Vlad Vissoultchev
xasan, this is next to useless! the 
file produced is 10x larger than an 
uncompressed .bmp file. let me show you 
another trick you can implement. use a 
property bag this way:
With New 
PropertyBag<br>
    Call 
.WritePropety("Pic", oPicture)<br>
SaveFile .Contents, 
"MyPic.PPB"<br>
End 
With
HTH, </wqw>
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/10/2002 7:51:30 AM:XasanSoft
Yes but it is good for beginners. who 
dont know how to do it on their own
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/12/2002 1:12:58 AM:homicidal4
This is just like this other one that i 
thought was bad. This pic format uses 
on average 11.34 bytes per pixel, when 
a pixel is only 3 bytes of info. This 
is 3.78 times bigger than it needs to 
be. You can check my work if you want. 
Colors are 0 to 16777215, get the sum 
of the digets of all of those numbers 
and divide by the number of colors then 
add 4 because of the space before and 
after the number and 2 for a new 
line:(8*6777216+7*8999999+6*899999+5*899
99+4*8999+3*899+2*89+1*10)/16777216+4=11
.34. I think i need to submit my pic 
format, it compresses images by 
limiting some colors.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/12/2002 7:59:15 AM:edika
kolotripidis eisai kates?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | RentACoder Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyrightę 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.