×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

TPS too big with pictures
3

TPS too big with pictures

TPS too big with pictures

(OP)
I am developing an membership application in Clarion 4b. The member file contains jpg pictures of the members in a BLOB field.
With 42 members the member tps file gets huge (11MB). Is it possible to get a smaller member file with pictures?

Greetings

Aslak E Himle
Norway

RE: TPS too big with pictures

Consider keeping the images external and just store a filename within the table

RE: TPS too big with pictures

Hope ain't too late!

If ya want to save imaginery, and wanna keep it small, select JPG as the format, and set the blow's{PROP:PrintMode} = 3

With PrintMode=3 you save your images with the original format, instead of letting clarion to convert to Big size BMP when save!.

This code I'm using to save the imaging: ?Tab1 save from a Browse list (?Image1), and ?Tab2 save from TumbNails (I created images at runtime).
 


      CASE CHOICE(?Sheet1)
        OF 1
        IMA:NumImagen = BRW1.Q.IMA:NumImagen    
        Access:Imagenes.Fetch(IMA:NumImagenKey)
        IMA:Imagen{PROP:Size} = 0
        IMA:Imagen{PROP:Handle} = ?Image1{PROP:ImageBlob}
        Access:Imagenes.Update()
        OF 2
        IMA:NumImagen = LOC:NumImagenSel
        Access:Imagenes.Fetch(IMA:NumImagenKey)
        (LOC:NumMiniatura+2000){PROP:PrintMode} = 3
        IMA:Imagen{PROP:Size} = 0
        IMA:Imagen{PROP:Handle} = (LOC:NumMiniatura+2000){PROP:ImageBlob}        
        Access:Imagenes.Update()
      END

-----
carabez@hotmail.com

RE: TPS too big with pictures

You might also like to look at LSZip from Linder Software
at http://www.lindersoftware.com

It is specially written for Clarion and provides inline memory compression as well as compression to PK compatible zip files.

Costs $200, has plenty of examples, is easy to use and works great with Blobs.  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close