Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #2420

Re: VB6 Image Resizer

From "Mayayana" <mayayana@invalid.nospam>
Newsgroups comp.lang.basic.visual.misc, microsoft.public.vb.general.discussion
Subject Re: VB6 Image Resizer
Date 2020-03-28 14:12 -0400
Organization A noiseless patient Spider
Message-ID <r5o437$csb$1@dont-email.me> (permalink)
References <r5mjl1$g3p$1@dont-email.me><r5nlho$5i0$1@dont-email.me> <20200328171731.0000601c@eternal-september.org>

Cross-posted to 2 groups.

Show all headers | View raw


"Arne Saknussemm" <es215.10.wannabet@spamgourmet.com> wrote

| > (Little known fact: Most thumbnails in JPGs are
| > JPGs, but they can also be BMPs or an obscure 3rd
| > type. This script can extract the first two.)
|
| In file... yes, but when "rendered" (which also
| includes rendered on a NON VISIBLE device context),
| all images will be DIB images (Device Independed
| Bitmaps) then they may be stored using whatever
| format you want, but after you load them into a
| windows DC (be it a memory area, a window, a
| printer or whatever else) they'll always be DIB, this
| eases the task of handling images since the APIs will
| always use and deal with the same format, makes a lot
| of sense, and should be taken into account
|

 I'm not sure what your point is. I'm just talking about
getting thumbnails out of the JPG header. They're
in there as small files. Getting a thumbnail will always be
much faster than resizing to thumbnail, when a thumbnail
is available. So you extract the JPG thumbnail, then load
that into whatever image display.

  But once you decide to do that you need to be aware
that while most tumbnails are JPG, they can actually be
3 formats. I wrote code to check the type and take out
a JPG thumbnail file or uncompressed RGB data. I've only
seen the latter once or twice. I've never seen the third type
and haven't written code to extract it. 

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

VB6 Image Resizer GS <gs@v.invalid> - 2020-03-28 00:26 -0400
  Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-28 10:04 -0400
    Re: VB6 Image Resizer Arne Saknussemm <es215.10.wannabet@spamgourmet.com> - 2020-03-28 17:17 +0100
      Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-28 14:12 -0400
      Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-28 14:43 -0400
        Re: VB6 Image Resizer Arne Saknussemm <es215.10.wannabet@spamgourmet.com> - 2020-03-29 15:48 +0200
          Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-29 10:41 -0400
          Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-29 13:30 -0400
            Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-29 13:54 -0400
              Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-29 15:36 -0400
                Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-29 16:19 -0400
                Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-29 18:40 -0400
                Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-29 18:49 -0400
                Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-29 23:17 -0400
                Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-30 07:44 -0400
                Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-30 09:52 -0400
                Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-30 12:37 -0400
                Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-30 13:35 -0400
    Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-28 14:59 -0400
      Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-28 16:39 -0400
        Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-28 17:57 -0400
        Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-28 18:44 -0400
          Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-28 22:49 -0400
            Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-29 13:22 -0400
  Re: VB6 Image Resizer "Peter T" <askmy@email.com> - 2020-03-30 17:29 +0100
    Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-30 12:34 -0400
      Re: VB6 Image Resizer "Peter T" <askmy@email.com> - 2020-03-31 10:59 +0100
        Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-31 09:43 -0400
        Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-31 12:53 -0400
  Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-30 18:20 -0400
    Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-30 18:50 -0400
    Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-30 18:56 -0400
      Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-30 21:24 -0400
        Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-30 21:30 -0400
          Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-30 22:01 -0400
            Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-30 22:11 -0400
  Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-31 17:41 -0400
    Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-31 17:51 -0400
      Re: VB6 Image Resizer "Mayayana" <mayayana@invalid.nospam> - 2020-03-31 21:08 -0400
        Re: VB6 Image Resizer GS <gs@v.invalid> - 2020-03-31 21:14 -0400

csiph-web