Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Don't sweat it -- it's only ones and zeros. -- P. Skelly


devel / comp.lang.python / Re: Converting hex data to image

SubjectAuthor
o Re: Converting hex data to imageanas el amouri

1
Re: Converting hex data to image

<e1fb0e58-536b-4c36-9ce8-b59e9ca72c4dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=18068&group=comp.lang.python#18068

  copy link   Newsgroups: comp.lang.python
X-Received: by 2002:a05:622a:1207:b0:2f3:6f22:95ad with SMTP id y7-20020a05622a120700b002f36f2295admr10411170qtx.173.1651103795436;
Wed, 27 Apr 2022 16:56:35 -0700 (PDT)
X-Received: by 2002:ac8:5bd2:0:b0:2f2:107:bfa2 with SMTP id
b18-20020ac85bd2000000b002f20107bfa2mr21123601qtb.38.1651103795215; Wed, 27
Apr 2022 16:56:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.python
Date: Wed, 27 Apr 2022 16:56:35 -0700 (PDT)
In-Reply-To: <3f8ae6b6-e873-4819-97d9-6c688d7b1665n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=41.249.40.158; posting-account=mrQ0IQoAAABCWRqJUEcopXv5IPxRzDjr
NNTP-Posting-Host: 41.249.40.158
References: <CALVX-oYZzX8CEvP58=mfyk2yYXFRkk4e0t66bFn8na-h_BNpHw@mail.gmail.com>
<7w61ruwv0q.fsf@benfinney.id.au> <7w1u2iwu3l.fsf@benfinney.id.au>
<mailman.2627.1384467786.18130.python-list@python.org> <04f92a06-0720-453b-a988-dd4717797466@googlegroups.com>
<q65f7o$1l1g$1@blaine.gmane.org> <mailman.19.1552302154.20971.python-list@python.org>
<2f4ef238-11cb-4c4f-aae5-1151046e19c2@googlegroups.com> <q67r6k$1oc7$1@blaine.gmane.org>
<mailman.30.1552379932.20971.python-list@python.org> <d0c88701-694b-4088-a375-2299ef7c6408@googlegroups.com>
<q67tqb$7gbl$1@blaine.gmane.org> <mailman.31.1552382615.20971.python-list@python.org>
<fab4d552-95ab-4176-9f36-da28ebd30acc@googlegroups.com> <3f8ae6b6-e873-4819-97d9-6c688d7b1665n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e1fb0e58-536b-4c36-9ce8-b59e9ca72c4dn@googlegroups.com>
Subject: Re: Converting hex data to image
From: anaselam...@gmail.com (anas el amouri)
Injection-Date: Wed, 27 Apr 2022 23:56:35 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 30
 by: anas el amouri - Wed, 27 Apr 2022 23:56 UTC

Le lundi 1 février 2021 à 08:19:44 UTC+1, Ali Sajadian a écrit :
> dimplem...@gmail.com در تاریخ سه‌شنبه ۱۲ مارس ۲۰۱۹ ساعت ۱۳:۰۱:۴۵ (UTC+3:30) نوشت:
> > On Tuesday, March 12, 2019 at 2:53:49 PM UTC+5:30, Peter Otten wrote:
> > > dimplem...@gmail.com wrote:
> > >
> > > >> Save the image to a file (in binary mode!) and then try to open it with
> > > >> an image viewer. The data may be corrupted.
> > > >
> > > > When i tried doing that it says Invalid Image...
> > >
> > > So it looks like the problem occurs somewhere before you are decoding the
> > > image with the PIL...
> > This is what i am doing :
> > for associate in self.conn.response[:-1]:
> > attributes = associate['attributes']
> > obj = {
> > 'img':attributes['thumbnailPhoto'],}
> > This img i am calling in my view and writing to the file...
> Hi could you solve this problem dimplem?
> I have exactly the same issue when I read thumbnailPhoto from active directory
bonjour a tous ,la vidéo résout ce problème
https://www.youtube.com/watch?v=GkxsYFQj0QM&ab_channel=TheRocketProgrammer

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor