Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3454684
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:31:21+00:00 2026-05-18T09:31:21+00:00

I am trying to access files that are stored as Jpeg files, is there

  • 0

I am trying to access files that are stored as Jpeg files, is there an easy way to display these image files without performance loss ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:31:22+00:00Added an answer on May 18, 2026 at 9:31 am

    I found this page!

    http://cc.embarcadero.com/Item/19723

    Enhanced jpeg implementation

    Author: Gabriel Corneanu

    This unit contains a new jpeg implementation (based on Delphi original)

    • fixed bug accessing one pixel height picture
    • added lossless transformation support for jpeg images (based on Thomas G. Lane C library – visit jpegclub.org/jpegtran )
    • added CMYK support (read only)
    • compiled for D5-2010 AND BCB5-6-CMYK to RGB fast MMX conversion (not for Delphi5, lack of MMX ASM) (fallback to simple pascal implementation if not available)
    • fixed bug in Delphi 5 ASM (CMYK to RGB function)

    You only need the jpeg.dcu file; it can be copied to program directory or to the LIB directory.I generated obj and hpp files for use with CBuilder 5 and 6 also.This is what you need to use it:

    This is just an enum

    TJpegTransform = ( 
         jt_FLIP_H,     { horizontal flip }
         jt_FLIP_V,     { vertical flip }
         jt_TRANSPOSE,  { transpose across UL-to-LR axis } 
         jt_TRANSVERSE, { transpose across UR-to-LL axis } 
         jt_ROT_90,     { 90-degree clockwise rotation } 
         jt_ROT_180,    { 180-degree rotation } 
         jt_ROT_270     { 270-degree clockwise (or 90 ccw) } 
    );
    

    procedure Crop(xoffs, yoffs, newwidth, newheight: integer); this method is cropping the image

    procedure Transform(Operation: TJpegTransform);this method is applying the specified transformation; read the transupp.h comments about limitations(my code is using crop option)

    property IsCMYK: boolean read FIsCMYK; this will indicate if the last jpeg image loaded is CMYK encoded

    property InverseCMYK: boolean read FInverseCMYK write SetInverseCMYK;if set (default, because I could only find this kind of images), the CMYK image is decoded with inversed CMYK values (I read that Photoshop is doing this).

    The jpegex is the same unit compiled with a different name. It can be used to avoid conflicts when you have other components without source code linking to the original jpeg unit. In this case you might need to use qualified class names to solve names conflict: jpegex.TJpegImage.xxx. Be carefull when you use both versions in one program: even though the classes have the same name, they are not identical and you can’t cast or assign them directly. The only way to exchange data is saving to/loading from a stream.

    Send comments to:
    gabrielcorneanuATyahooDOTcom

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create an application that will display images that are stored
I'm trying to access a web server and get all of the files in
Trying to prevent access to a specific file, not any files with a certain
I'm trying to check out files from our CVS Repository (I have access, but
Is it possible to access Rails.env inside Sass files? I'm trying to do it
i am trying to access a Excel file stored in my Resources and build-embed
I am trying to play a video that is stored in an NSData object.
I am trying to create a button on my access form that allows for
I have a couple images stored in a database that I am trying to
I'm trying to store my static strings in such a way that they can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.