Results 1 to 17 of 17

Thread: pictures, please read

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715

    Cool

    This is proboly a stupid question, but anyways, is there a way to put a picture file that I made in MS Photo shop on my program I need the format to me .MIX, is it possible? Maybe thru OLE? but I don't know how to do that (I'm only 12)

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Boulder, Colorado, USA
    Posts
    325
    I'm only 22. =)

    ok, so you made a picture in Adobe Photoshop and you want to put in your program. Is it suppose to be a form background, or do you want it in a picture box? What is a .MIX file? Never heard of it.
    -Shickadance

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    I made a mistake, It's in MS PhotoDraw (same extension, MIX), I need it to be in a picture box. if I try saving it into a gif format, the thing becomes bigger then what it's supposed to be, and it woun't even show the picture, and JPEG isn't a high quality format

  4. #4
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    picture

    Save your pic as jpg,gif, or bmp
    Under form properties use picture
    it will fill the form

    or use an image control or a picture box
    both under properties..picture

    or you could tile in on a form

    'tile an image on a form

    '1) Place an image control on a form and give it a picture
    '2) Set the forms AutoRedraw to False
    '3) Place this code in the Form Paint Event

    Dim intX As Integer
    Dim intY As Integer

    For intX = 0 To Me.Width Step Image1.Width
    For intY = 0 To Me.Height Step Image1.Height
    PaintPicture Image1, intX, intY
    Next intY
    Next intX

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715

    Re: picture

    It woun't let me save in BMP, in JPEG the picture looks horrible, and in gif, it enlarges the picture, and then the picture doesn't show at all!!! (and i know how to make the picture appear in the box, I'm stupid, but not that stupid)

  6. #6
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946
    shhhhhhhhhhhhhhh...who knew...don't be so touchy!
    Nobody said you were stupid...people who don't know how to access a textbox are not stupid..they just haven't done it before...
    and a jpg is a much higher quality than a gif and it is used everywhere so if your quality is that bad on a jpg then something else is wrong.

    bye
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  7. #7
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    gif is higher quality, but jpeg gives you more colours, and it's okay if you set compression to 0...

    bmp is the best, but they end up absolutely HUGE.

  8. #8
    Guest
    This might be a little advanced but you can read up on how the format is made and then build a conversion algorithm within your App.

    I used to have a file about different types of formats but I'm not sure if i have it anymore. I'll check though.

  9. #9
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    MIX

    Not meaning to say you don't know how to save a file but perhaps in a different image processing program the results might be different. I have MIC and PSP6. I know for sure that MIC is capable of handling mix files as well as mic. If you want, you can send me a copy of the mix file and I will see
    if I can convert it through Image Composer or PSP. You will lose some on the transition because no matter how you save it, bmp, gif, or jpg it needs to be flattened since none of the three formats supported by the picture box support multiple layers.





    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  10. #10

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715

    Re: MIX

    I'm not sure about what the colors are supposed to be, but when I save a file in gif from BMP, it looks just like the bmp, when I save it as a JPEG, the colors were all blury and it wasn't clear.


    But when I save it as a gif, it woun't even show the file, and the file is much larger. I made the orginial file in MS PAINT (I know it's the worst quality photo editiing) but now for some reason when I start it it always preformas an illigal operation and closes. At the screen (illigal operation) there is a button that says DEBUG, I click on it and it opens Visual C++ 6, but I don't know any of C++ so I really can't try to fix it

  11. #11

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715

    Re: MIX

    I could also change the format I have the following software:


    MS PAINT (who doesn't)
    MS PHOTO DRAW
    MS PHOTO EDITOR
    MS Image Composer
    Adobe Photo Shop
    Adobe Image Ready
    + more stuff that I can't think of

    but I can't fit the high quality files like MIC or MIX into picture boxes

  12. #12
    Lively Member
    Join Date
    Jun 2000
    Posts
    67
    DUDE UR PRETTY DUMB FOR A 12 year old! I'm 13 and i got the solution first time i read ur message!

    OK open the pic in what ever program it is in take a snap shot of the screen (alt + printscreen) (the printscreen button is in the top row of your keyboard above the insert key)

    then open paint and push ctrl + V that will paste it into paint then cut out the image you want out of the whole bitmap(the screen capture will take a pic of the whole screen) then save it as a .bmp!

    CAPISH!?

    IF YOU CANT DO IT - FIND A WAY AROUND IT!

  13. #13
    Lively Member
    Join Date
    Jun 2000
    Posts
    67
    THE C++ THING:

    THE computer thinks that you know C++ and it thinks that you can fix it! Well since you don't then.....oops

    oh and since ur paint doesnt open in the last message where i tell you to put into a paint program put it in some other program capable of saving bmps or gifs

    -- peace

    DONT WORRY UR SMART ENOUGH FOR A 12 YEAR OLD

  14. #14

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    I know what was happening and I do know about the PRINT SCREEN BUTTON, and I know that the BEBUG button means that It thinks I know C++.



    Now back to my orignal question: is there a way to put an image on the form (any where) that has a format not listed in the PICTURE DIALOG WINDOW IN VB? I was thinking of using OLE but I don't know how to use that

  15. #15
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    you could try this...



    Add an Ole object (in your toolbox) to your form.
    ..takes a moment or two and then shoots out a msgboard
    ....
    which will ask you what kind of object you want to add
    (MS Photo Shop ) should be one of them if it is installed
    on the computer. then click on the Sourcedoc property
    and add your .mix file to it

    Don't know if it will work haven't tried it but
    nothing comes without effort.
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  16. #16

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715

    Unhappy Re: you could try this...

    I tried that, it works, but when someone double clicks on it, it open MS photo draw
    NXSupport - Your one-stop source for computer help

  17. #17
    Addicted Member RCharlton's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    202
    Can I suggest this very useful image editor activeX - it has many, many functions - opening, adjusting contrast, greyscale, adjusting size ....., and it allows you to save your picture into 15 file formats, and may help you with the problem. I have used it in projects and it has worked wonders!

    http://home.worldonline.be/~kchabot/...tic/CImage.htm

    Best of all, it is FREEWARE!!!!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width